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

遊戲的相關資訊，包括其名稱和上次修改的時間戳記。

<a id="ID4EN" />

## TitleRecord

TitleRecord 必須包含 DeviceRecord 或 LastSeenRecord，但不能同時包含兩者。

TitleRecord 物件具有下列規格。

| 成員 | 類型 | 描述 |
| - | - | - |
| id | 32 位元不帶正負號的整數 | 記錄的 TitleId。 |
| name | string | 遊戲的當地語系化名稱。 |
| activity | [ActivityRecord](/zh-TW/reference/live/rest/json/json-activityrecord) | 使用者在遊戲中的活動。只有在 depth 為 "all" 時才會傳回。 |
| lastModified | DateTime | 上次更新記錄時的 UTC 時間戳記。 |
| placement | string | 應用程式在使用者介面中的位置。可能的值包括 "fill"、"full"、"snapped" 或 "background"。對於無法放置應用程式的裝置，預設值為 "full"。 |
| state | string | 遊戲的狀態。可以是 "active" 或 "inactive" (預設值)。遊戲會根據自己的活動與非活動準則來設定狀態。 |

<a id="ID4E6C" />

## 範例 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"
      }
    }
    
```

<a id="ID4EID" />

## 另請參閱

<a id="ID4EKD" />

##### 上層

[JavaScript Object Notation (JSON) 物件參考](/zh-TW/reference/live/rest/json/atoc-xboxlivews-reference-json)

<a id="ID4EUD" />

##### 參考

[POST (/users/xuid({xuid})/devices/current/titles/current)](/zh-TW/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)
