共用方式為


TitleRequest (JSON)

Request for information about a title.

TitleRequest

The TitleRequest object has the following specification.

Member Type Description
id 32-bit unsigned integer Identifier of the title.
activity ActivityRequest In-title information, including rich presence and media information, if available.
state string Whether a user is active or not. This field is required to mark a user as inactive. The default is "active".
placement string The placement mode of the title. Possible values include "full", "fill", "snapped", or "background". The default is "full".

Sample JSON syntax

{
  id:"12341234",
  placement:"snapped",
  state:"active",
  activity:
  {
    richPresence:
    {
      id:"playingMapWeapon",
      scid:"82b11353-08ba-48ca-9f1a-21627b189b0f"
    }
  }
}
    

See also

Parent

JavaScript Object Notation (JSON) Object Reference

Reference

POST (/users/xuid({xuid})/devices/current/titles/current)