Method LobbyPresence
LobbyPresence(LobbyPresenceRequestContainer)
Gets the player presence status.
Declaration
public System.Threading.Tasks.Task<Den.Dev.Grunt.Models.HaloApiResultContainer<Den.Dev.Grunt.Models.HaloInfinite.LobbyPresenceContainer,Den.Dev.Grunt.Models.RawResponseContainer>> LobbyPresence (Den.Dev.Grunt.Models.HaloInfinite.LobbyPresenceRequestContainer presenceRequest);
Parameters
Type | Name | Description |
---|---|---|
LobbyPresenceRequestContainer | presenceRequest | Presence request, containing a list of Xuids representing Xbox Live players. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<HaloApiResultContainer<LobbyPresenceContainer,RawResponseContainer>> | If successful, an instance of LobbyPresenceContainer representing the lobby details. Otherwise, null. |
Examples
Here is an example response from the API, as snapshotted on 7/21/2022:
{
"Results": [
{
"Id": "xuid(PLAYER_XUID_HERE)",
"ResultCode": 0,
"Result": {
"FireteamDetails": {
"FireteamId": "16a49fa0-a920-417f-8905-b7ba6aaf5181",
"PlayerCount": 1,
"MaxPlayers": 28,
"JoinabilityStatus": 1,
"PlaylistRef": null,
"Activity": 5,
"FireteamLeaderMenuActivity": 1
},
"MatchDetails": null
}
}
]
}