game-common / pragma.friend / PresenceApi /

PresenceApi #

class PresenceApi(service: Service)

The backend entrypoint for sending RPCs to the PresenceService.

Constructors #

PresenceApi

fun PresenceApi(service: Service)

Functions #

NameSummary

setRichPresence

suspend fun setRichPresence(socialId: <ERROR CLASS>, requestExt: ExtRichPresenceBackendRequest): PragmaResult<Unit, ServiceError>

Request to set the rich presence for a player.