共用方式為


ActivityRecord (JSON)

A formatted and localized string about one or more users' rich presence.

ActivityRecord

The ActivityRecord object has the following specification.

Member Type Description
richPresence string The rich presence string, formatted and localized.
media MediaRecord What the user is watching or listening to.

Sample JSON syntax

{
        richPresence:"Team Deathmatch on Nirvana"
      }
    

See also

Parent

JavaScript Object Notation (JSON) Object Reference