TurnBasedMatchUpdateCallback

public abstract class TurnBasedMatchUpdateCallback extends Object
implements OnTurnBasedMatchUpdateReceivedListener

Callback to invoke when an update to a turn-based match is received.

Public Constructor Summary

Public Method Summary

abstract void
onTurnBasedMatchReceived(TurnBasedMatch match)
Callback invoked when a new update to a match arrives.
abstract void
onTurnBasedMatchRemoved(String matchId)
Callback invoked when a match has been removed from the local device.

Inherited Method Summary

Public Constructors

public TurnBasedMatchUpdateCallback ()

Public Methods

public abstract void onTurnBasedMatchReceived (TurnBasedMatch match)

Callback invoked when a new update to a match arrives. Note that if a listener receives this callback, the system will not display a notification for this event.

Parameters
match The match that was received.

public abstract void onTurnBasedMatchRemoved (String matchId)

Callback invoked when a match has been removed from the local device. For example, this might occur if the player leaves the match on another device.

Parameters
matchId The ID of the match that has been removed.