> ## 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](https://devdocs.xbox.com/ja-jp/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 Object Notation (JSON) オブジェクト リファレンス](https://devdocs.xbox.com/ja-jp/reference/live/rest/json/atoc-xboxlivews-reference-json)

##### リファレンス

[POST (/users/xuid({xuid})/devices/current/titles/current)](https://devdocs.xbox.com/ja-jp/reference/live/rest/uri/presence/uri-usersxuiddevicescurrenttitlescurrentpost)


## Related topics

- [XblPresenceDeviceRecord](https://devdocs.xbox.com/reference/live/xsapi-c/presence_c/structs/xblpresencedevicerecord.md)
- [XblPresenceTitleRecord](https://devdocs.xbox.com/reference/live/xsapi-c/presence_c/structs/xblpresencetitlerecord.md)
