Introduction to Presence
Overview
AccelByte Gaming Services (AGS) Presence enables players to see what other players are doing. Presence can show players if their friends are online or offline, and if they're available to play together. A player's presence status is updated in real-time. This service includes two main features:
Set User Presence: allows clients to set a player's availability and activity. There are five availability status options:
Offline
Available
Busy
Away
Invisible
Activity status is customizable and can include Playing a Game, In Lobby, In a Match, or In Party Looking For Members.
Get Friend Presence: allows clients to show players what their friends are doing. Clients can display a player's availability and activity status to their friends, so that players can invite friends that aren't busy to play together.
If the service is successful, when a client sets a player's availability code and status, that status will be visible to that player's friends.