Beamable SDK
Public Member Functions | Public Attributes | Properties | Events | List of all members
Beamable.Experimental.Api.Matchmaking.MatchmakingHandle Class Reference
Inheritance diagram for Beamable.Experimental.Api.Matchmaking.MatchmakingHandle:
Inheritance graph
[legend]
Collaboration diagram for Beamable.Experimental.Api.Matchmaking.MatchmakingHandle:
Collaboration graph
[legend]

Public Member Functions

 MatchmakingHandle (MatchmakingService service, IPlatformService platform, string gameType, MatchmakingUpdate update, TimeSpan? maxWait=null, Action< MatchmakingHandle > onUpdate=null, Action< MatchmakingHandle > onMatchReady=null, Action< MatchmakingHandle > onMatchTimeout=null)
 
async void Dispose ()
 
Promise< MatchmakingHandleWhenCompleted ()
 Promise which will complete when the matchmaking client reaches a "resolution". More...
 
Promise< MatchmakingHandleCancel ()
 Cancels matchmaking for this player. More...
 

Public Attributes

readonly string GameType
 
bool MatchmakingIsComplete => State.IsTerminal()
 

Properties

MatchmakingStatus Status [get]
 
MatchmakingState State [get]
 

Events

Action< MatchmakingHandleOnUpdate
 
Action< MatchmakingHandleOnMatchReady
 
Action< MatchmakingHandleOnMatchTimeout
 

Member Function Documentation

◆ Cancel()

Promise<MatchmakingHandle> Beamable.Experimental.Api.Matchmaking.MatchmakingHandle.Cancel ( )
inline

Cancels matchmaking for this player.

Returns
The MatchmakingHandle

◆ WhenCompleted()

Promise<MatchmakingHandle> Beamable.Experimental.Api.Matchmaking.MatchmakingHandle.WhenCompleted ( )
inline

Promise which will complete when the matchmaking client reaches a "resolution".

Returns
A promise containing the matchmaking handle itself.

The documentation for this class was generated from the following file: