public interface

OnTurnBasedMatchUpdateReceivedListener

com.google.android.gms.games.multiplayer.turnbased.OnTurnBasedMatchUpdateReceivedListener

Class Overview

Listener invoked when an update to a turn-based match is received.

Summary

Public Methods
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.

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 TurnBasedMatch: 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 String: The ID of the match that has been removed.