Beamable SDK
Public Member Functions | List of all members
Beamable.Experimental.Api.Matchmaking.MatchmakingService Class Reference

Public Member Functions

 MatchmakingService (IPlatformService platform, IBeamableRequester requester)
 
Promise< MatchmakingHandleStartMatchmaking (string gameType, Action< MatchmakingStatus > updateHandler=null)
 Initialize the matchmaking process. More...
 
Promise< UnitCancelMatchmaking (string gameType)
 Cancels matchmaking for the player More...
 

Member Function Documentation

◆ CancelMatchmaking()

Promise<Unit> Beamable.Experimental.Api.Matchmaking.MatchmakingService.CancelMatchmaking ( string  gameType)
inline

Cancels matchmaking for the player

Parameters
gameTypeThe string id of the game type we wish to be removed from

◆ StartMatchmaking()

Promise<MatchmakingHandle> Beamable.Experimental.Api.Matchmaking.MatchmakingService.StartMatchmaking ( string  gameType,
Action< MatchmakingStatus updateHandler = null 
)
inline

Initialize the matchmaking process.

Parameters
gameType
updateHandler
Returns
A MatchmakingHandle which will be updated via push notifications.

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