Skip to main content
Version: 5.7.0

CancelFindRequest

Cancels any FindLobby or FindOrCreateLobby requests that have been previously submitted by the caller for the given lobbyType.

ServiceOperation
lobbyCANCEL_FIND_REQUEST

Method Parameters

ParameterDescription
lobbyTypeType of lobby being targeted.
entryIdSpecific entry id to cancel.

Usage

http://localhost:3000
string lobbyType = "4v4";
string entryId = "cxckfek-ir";
SuccessCallback successCallback = (response, cbObject) =>
{
Debug.Log(string.Format("Success | {0}", response));
};
FailureCallback failureCallback = (status, code, error, cbObject) =>
{
Debug.Log(string.Format("Failed | {0} {1} {2}", status, code, error));
};

_bc.LobbyService.CancelFindRequest(lobbyType, entryId, successCallback, failureCallback);