Lobby.AccessPolicy property

Gets the access policy of the lobby.

public LobbyAccessPolicy AccessPolicy { get; }

Return Value

The access policy of the lobby.

Remarks

If this lobby object was created by calling JoinLobby, this method returns LobbyAccessPolicy.Public until ProcessLobbyStateChanges provides a OnLobbyUpdated with the OnLobbyUpdated accessPolicyUpdated set to true. If joining the lobby succeeds, this field is guaranteed to be populated by the time ProcessLobbyStateChanges provides a OnLobbyJoinCompleted.

See Also