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

# XblPresenceDeviceRecord

> XblPresenceDeviceRecord

# XblPresenceDeviceRecord

定义表示 xbl 状态设备记录的值。

## 语法

```cpp theme={null}
typedef struct XblPresenceDeviceRecord {  
    XblPresenceDeviceType deviceType;  
    const struct XblPresenceTitleRecord* titleRecords;  
    size_t titleRecordsCount;  
} XblPresenceDeviceRecord  
```

### 成员

*deviceType*\
类型：[XblPresenceDeviceType](/reference/live/xsapi-c/presence_c/enums/xblpresencedevicetype)

与此记录关联的设备类型。

*titleRecords*\
类型：const XblPresenceTitleRecord\*

包含标题状态数据的记录。

*titleRecordsCount*\
类型：size\_t

titleRecords 数组中标题记录的数量。

## 用作参数

[XblPresenceRecordGetDeviceRecords](/reference/live/xsapi-c/presence_c/functions/xblpresencerecordgetdevicerecords)

## 要求

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

## 另请参阅

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


## Related topics

- [XblPresenceTitleRecord](/zh-CN/reference/live/xsapi-c/presence_c/structs/xblpresencetitlerecord.md)
- [XblPresenceRecordGetDeviceRecords](/zh-CN/reference/live/xsapi-c/presence_c/functions/xblpresencerecordgetdevicerecords.md)
- [XblPresenceDeviceType](/zh-CN/reference/live/xsapi-c/presence_c/enums/xblpresencedevicetype.md)
- [获取用户的 Presence](/zh-CN/services/xbox-services/community/presence/how-to/live-getting-a-users-presence.md)
- [XblSocialManagerPresenceTitleRecord](/zh-CN/reference/live/xsapi-c/social_manager_c/structs/xblsocialmanagerpresencetitlerecord.md)
