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

# DeviceRecord (JSON)

> DeviceRecord (JSON)

# DeviceRecord (JSON)

デバイスの種類やそのデバイス上でアクティブなタイトルなど、デバイスに関する情報。

## DeviceRecord

DeviceRecord オブジェクトの仕様は次のとおりです。

| メンバー | 型 | 説明 |
| - | - | - |
| type | string | デバイスの種類。指定可能な値には "D"、"Xbox360"、"MoLIVE" (Windows)、"WindowsPhone"、"WindowsPhone7"、"PC" (G4WL) があります。種類が不明な場合 (例: iOS、Android、または Web ブラウザーに埋め込まれたタイトル)、"Web" が返されます。 |
| titles | [TitleRecord](/ja-jp/reference/live/rest/json/json-titlerecord) の配列 | このデバイス上でアクティブなタイトルのリスト。 |

## サンプル JSON 構文

```json theme={null}
[{
    type:"D",
    titles:
    [{
      id:"12341234",
      name:"Contoso 5",
      state:"active",
      placement:"fill",
      timestamp:"2012-09-17T07:15:23.4930000",
      activity:
      {
        richPresence:"Team Deathmatch on Nirvana"
      }
    },
    {
      id:"12341235",
      name:"Contoso Waypoint",
      timestamp:"2012-09-17T07:15:23.4930000",
      placement:"snapped",
      state:"active",
      activity:
      {
        richPresence:"Using radar"
      }
    }]
  }]
    
```

## 関連項目

##### 親

[JavaScript Object Notation (JSON) オブジェクト リファレンス](/ja-jp/reference/live/rest/json/atoc-xboxlivews-reference-json)

##### リファレンス


## Related topics

- [XblPresenceRecordGetDeviceRecords](/reference/live/xsapi-c/presence_c/functions/xblpresencerecordgetdevicerecords.md)
- [XblPresenceDeviceRecord](/reference/live/xsapi-c/presence_c/structs/xblpresencedevicerecord.md)
