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

# TitleRecord (JSON)

> TitleRecord (JSON)

# TitleRecord (JSON)

关于某个标题的信息,包括其名称和最后修改的时间戳。

## TitleRecord

一个 TitleRecord 必须包含一个 DeviceRecord 或一个 LastSeenRecord,但不能同时包含两者。

TitleRecord 对象具有以下规范。

| 成员 | 类型 | 说明 |
| - | - | - |
| id | 32 位无符号整数 | 记录的 TitleId。 |
| name | string | 标题的本地化名称。 |
| activity | [ActivityRecord](/zh-CN/reference/live/rest/json/json-activityrecord) | 用户在该标题中的活动。仅当 depth 为 "all" 时返回。 |
| lastModified | DateTime | 记录最后一次更新时的 UTC 时间戳。 |
| placement | string | 应用在用户界面中的位置。可能的值包括 "fill"、"full"、"snapped" 或 "background"。对于不支持放置应用的设备,默认为 "full"。 |
| state | string | 标题的状态。可以是 "active" 或 "inactive"(默认值)。标题根据自己的活动和非活动标准来设置该状态。 |

## JSON 语法示例

```json theme={null}
{
      id:"12341234",
      name:"Contoso 5",
      state:"active",
      placement:"fill",
      timestamp:"2012-09-17T07:15:23.4930000",
      activity:
      {
        richPresence:"Team Deathmatch on Nirvana"
      }
    }
    
```

## 另请参阅

##### 父主题

[JavaScript 对象表示法 (JSON) 对象参考](/zh-CN/reference/live/rest/json/atoc-xboxlivews-reference-json)

##### 参考

[POST (/users/xuid({xuid})/devices/current/titles/current)](/zh-CN/reference/live/rest/uri/presence/uri-usersxuiddevicescurrenttitlescurrentpost)


## Related topics

- [XblPresenceDeviceRecord](/reference/live/xsapi-c/presence_c/structs/xblpresencedevicerecord.md)
- [XblPresenceTitleRecord](/reference/live/xsapi-c/presence_c/structs/xblpresencetitlerecord.md)
