Compartir a través de


DeviceRecord (JSON)

Information about a device, including its type and the titles active on it.

DeviceRecord

The DeviceRecord object has the following specification.

Member Type Description
type string The device type of the device. Possibilities include "D", "Xbox360", "MoLIVE" (Windows), "WindowsPhone", "WindowsPhone7", and "PC" (G4WL). If the type is unknown (for example iOS, Android, or a title embedded in a web browser), "Web" is returned .
titles array of TitleRecord The list of titles active on this device.

Sample JSON syntax

[{
    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"
      }
    }]
  }]
    

See also

Parent

JavaScript Object Notation (JSON) Object Reference

Reference