API reference
API reference
Select your platform
No SDKs available
No versions available

RichPresence Class

Modifiers: final
Rich Presence has been deprecated in favor of Group Presence.

Signature

class RichPresence

Constructors

RichPresence ()
Signature
constructor()
Returns
RichPresence

Functions

clear ()
DeprecatedGroupPresence.clear()
The API has been deprecated. Please use GroupPresence.clear() instead.
Signature
suspend fun clear()
getDestinations ( coroutineScope )
Gets all the Destination that the presence can be set to
Signature
fun getDestinations(coroutineScope: CoroutineScope): PagedResults<Destination>
Parameters
coroutineScope: CoroutineScope
Returns
PagedResults
A list of Destination objects.
set ( richPresenceOptions )
DeprecatedGroupPresence.set()
The API has been deprecated. Please use GroupPresence.set() instead.
Signature
suspend fun set(richPresenceOptions: RichPresenceOptions)
Parameters
richPresenceOptions: RichPresenceOptions
Did you find this page helpful?