共用方式為


ActivityRequest (JSON)

A request for information about one or more users' rich presence.

ActivityRequest

The ActivityRequest object has the following specification.

Member Type Description
richPresence RichPresenceRequest The friendly name of the rich presence string that should be used.
media MediaRequest Media information for what the user is watching or listening to.

Sample JSON syntax

{
    richPresence:
    {
      id:"playingMapWeapon",
      scid:"abba0123-08ba-48ca-9f1a-21627b189b0f"
    }
  }
    

See also

Parent

JavaScript Object Notation (JSON) Object Reference