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

# XblPresenceDeviceType

> XblPresenceDeviceType

# XblPresenceDeviceType

定义用于指示与 XblSocialManagerPresenceTitleRecord 关联的设备类型的值。

## 语法

```cpp theme={null}
enum class XblPresenceDeviceType  : uint32_t  
{  
    Unknown,  
    WindowsPhone,  
    WindowsPhone7,  
    Web,  
    Xbox360,  
    PC,  
    Windows8,  
    XboxOne,  
    WindowsOneCore,  
    WindowsOneCoreMobile,  
    iOS,  
    Android,  
    AppleTV,  
    Nintendo,  
    PlayStation,  
    Win32,  
    Scarlett  
}  
```

## 常量

| 常量                   | 说明                         |
| -------------------- | -------------------------- |
| Unknown              | 未知设备。                      |
| WindowsPhone         | Windows Phone 设备。          |
| WindowsPhone7        | Windows Phone 7 设备。        |
| Web                  | Web 设备，例如 Xbox.com。        |
| Xbox360              | Xbox360 设备。                |
| PC                   | Games for Windows Live PC。 |
| Windows8             | 适用于 Windows 设备的 XBOX Live。 |
| XboxOne              | XBOX One 设备。               |
| WindowsOneCore       | Windows One Core 设备。       |
| WindowsOneCoreMobile | Windows One Core 移动设备。     |
| iOS                  | iOS 设备。                    |
| Android              | Android 设备。                |
| AppleTV              | AppleTV 设备。                |
| Nintendo             | Nintendo 设备。               |
| PlayStation          | PlayStation® 设备。           |
| Win32                | 基于 Win32 的设备。              |
| Scarlett             | Scarlett 设备。               |

"PlayStation" 是 Sony Interactive Entertainment Inc. 的注册商标或商标。

## 成员属于

[XblPresenceDeviceRecord](/reference/live/xsapi-c/presence_c/structs/xblpresencedevicerecord)\
[XblPresenceQueryFilters](/reference/live/xsapi-c/presence_c/structs/xblpresencequeryfilters)

## 作为参数用于

[XblPresenceDevicePresenceChangedHandler](/reference/live/xsapi-c/presence_c/functions/xblpresencedevicepresencechangedhandler)

## 要求

**头文件：** presence\_c.h

## 另请参阅

[presence\_c](/reference/live/xsapi-c/presence_c/presence_c_members)


## Related topics

- [XblPresenceDeviceRecord](/zh-CN/reference/live/xsapi-c/presence_c/structs/xblpresencedevicerecord.md)
- [XblPresenceDevicePresenceChangedHandler](/zh-CN/reference/live/xsapi-c/presence_c/functions/xblpresencedevicepresencechangedhandler.md)
- [处理设备 Presence 更改](/zh-CN/services/xbox-services/community/presence/how-to/live-handling-a-device-presence-change.md)
- [XblSocialManagerPresenceTitleRecord](/zh-CN/reference/live/xsapi-c/social_manager_c/structs/xblsocialmanagerpresencetitlerecord.md)
- [XblPresenceQueryFilters](/zh-CN/reference/live/xsapi-c/presence_c/structs/xblpresencequeryfilters.md)
