> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# game_chat_shared_device_communication_relationship_resolution_mode

> game_chat_shared_device_communication_relationship_resolution_mode

Defines how Game Chat 2 should resolve communication relationship conflicts for users that are on a shared device, such as Kinect.

## Syntax

```cpp theme={null}
enum class game_chat_shared_device_communication_relationship_resolution_mode  
{  
    permissive,  
    restrictive  
}  
```

## Constants

| Constant | Description |
| - | - |
| permissive | Game Chat 2 should choose the most permissive relationship when determining whether audio from a shared device should be sent to remote users or rendered for local users. This choice is equivalent to applying a bitwise-OR operation on the relationship flags of the communication relationships for the users on the shared device. |
| restrictive | Game Chat 2 should choose the most restrictive relationship when determining whether audio from a shared device should be sent to remote users or rendered for local users. |

## Remarks

This enumeration is used by the [chat\_manager::initialize](https://docs.xbox.com/reference/chat/gamechat2/classes/chat_manager/methods/chat_manager_initialize.md) method to indicate how Game Chat 2 should resolve communication relationship conflicts for users that are sharing an audio device, such as a Kinect. You can call [chat\_user\_local::set\_communication\_relationship](https://docs.xbox.com/reference/chat/gamechat2/classes/chat_user/chat_user_local/methods/chat_user_local_set_communication_relationship.md) to set the communication relationship between a local user and a target user, and those relationships are compared when determining if audio from a shared device should be sent to remote users or rendered for local users. You can also call [chat\_user\_local::get\_effective\_communication\_relationship](https://docs.xbox.com/reference/chat/gamechat2/classes/chat_user/chat_user_local/methods/chat_user_local_get_effective_communication_relationship.md) to get the resulting effective communication relationship that Game Chat 2 is enforcing between a local user and a target user. For more information about communication relationships, see [Using the Game Chat 2 C++ API](https://docs.xbox.com/services/xbox-services/multiplayer/chat/game-chat2/using-game-chat-2.md).

## Requirements

**Header:** GameChat2.h

**Supported platforms:** Windows, XBOX One family consoles and XBOX Series consoles

## See also

[Intro to Game Chat 2](https://docs.xbox.com/services/xbox-services/multiplayer/chat/game-chat2/game-chat-2-intro.md)\
[GameChat2 members](https://docs.xbox.com/reference/chat/gamechat2/gamechat2_members.md)


## Related topics

- [post_decode_audio_sink_stream::can_receive_audio_from_source_stream](https://docs.xbox.com/reference/chat/gamechat2/classes/post_decode_audio_sink_stream/methods/post_decode_audio_sink_stream_can_receive_audio_from_source_stream.md)
- [GameChat2 members (API contents)](https://docs.xbox.com/reference/chat/gamechat2/gamechat2_members.md)
- [initialize](https://docs.xbox.com/reference/chat/gamechat2/classes/chat_manager/methods/chat_manager_initialize.md)
- [game_chat_communication_relationship_adjuster](https://docs.xbox.com/reference/chat/gamechat2/enums/game_chat_communication_relationship_adjuster.md)
- [set_communication_relationship](https://docs.xbox.com/reference/chat/gamechat2/classes/chat_user/chat_user_local/methods/chat_user_local_set_communication_relationship.md)
