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

# PartyDevice

> Represents a device across networks.

Represents a device across networks.

## Syntax

```cpp theme={null}
class PartyDevice  
```

## Public Methods

| Name | Description |
| - | - |
| [GetLocal](https://docs.xbox.com/services/playfab/multiplayer/networking/reference/classes/PartyDevice/methods/partydevice_getlocal.md) | Gets the [PartyLocalDevice](https://docs.xbox.com/services/playfab/multiplayer/networking/reference/classes/PartyLocalDevice/partylocaldevice.md) version of this device. |
| [GetChatControls](https://docs.xbox.com/services/playfab/multiplayer/networking/reference/classes/PartyDevice/methods/partydevice_getchatcontrols.md) | Gets the chat controls on this device. |
| [GetCustomContext](https://docs.xbox.com/services/playfab/multiplayer/networking/reference/classes/PartyDevice/methods/partydevice_getcustomcontext.md) | Retrieves the app's private, custom pointer-sized context value previously associated with this device object. |
| [SetCustomContext](https://docs.xbox.com/services/playfab/multiplayer/networking/reference/classes/PartyDevice/methods/partydevice_setcustomcontext.md) | Configures an optional, custom pointer-sized context value with this device object. |

## Requirements

**Header:** Party.h

## See also

[Party members](https://docs.xbox.com/services/playfab/multiplayer/networking/reference/party_members.md)\
[PartyLocalDevice](https://docs.xbox.com/services/playfab/multiplayer/networking/reference/classes/PartyLocalDevice/partylocaldevice.md)


## Related topics

- [PartyDevice::GetLocal](https://docs.xbox.com/services/playfab/multiplayer/networking/reference/classes/PartyDevice/methods/partydevice_getlocal.md)
- [PartyDevice::SetCustomContext](https://docs.xbox.com/services/playfab/multiplayer/networking/reference/classes/PartyDevice/methods/partydevice_setcustomcontext.md)
- [PartyDevice::GetCustomContext](https://docs.xbox.com/services/playfab/multiplayer/networking/reference/classes/PartyDevice/methods/partydevice_getcustomcontext.md)
- [PartyDevice::GetChatControls](https://docs.xbox.com/services/playfab/multiplayer/networking/reference/classes/PartyDevice/methods/partydevice_getchatcontrols.md)
- [PartyLocalDevice](https://docs.xbox.com/services/playfab/multiplayer/networking/reference/classes/PartyLocalDevice/partylocaldevice.md)
