> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.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

# 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.

<a id="syntaxSection" />

## Syntax

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

<a id="constantsSection" />

## 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.<br /><br />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.                                                                                                                                                                         |

<a id="remarksSection" />

## Remarks

This enumeration is used by the [chat\_manager::initialize](/reference/chat/gamechat2/classes/chat_manager/methods/chat_manager_initialize) 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](/reference/chat/gamechat2/classes/chat_user/chat_user_local/methods/chat_user_local_set_communication_relationship) 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](/reference/chat/gamechat2/classes/chat_user/chat_user_local/methods/chat_user_local_get_effective_communication_relationship) 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](/services/xbox-services/multiplayer/chat/game-chat2/using-game-chat-2).

<a id="requirementsSection" />

## Requirements

**Header:** GameChat2.h

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

<a id="seealsoSection" />

## See also

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


## Related topics

- [post_decode_audio_sink_stream::can_receive_audio_from_source_stream](/reference/chat/gamechat2/classes/post_decode_audio_sink_stream/methods/post_decode_audio_sink_stream_can_receive_audio_from_source_stream.md)
- [chat_manager::initialize](/reference/chat/gamechat2/classes/chat_manager/methods/chat_manager_initialize.md)
- [GameChat2 members](/reference/chat/gamechat2/gamechat2_members.md)
- [game_chat_communication_relationship_adjuster](/reference/chat/gamechat2/enums/game_chat_communication_relationship_adjuster.md)
- [game_chat_communication_relationship_flags](/reference/chat/gamechat2/enums/game_chat_communication_relationship_flags.md)
