public interface

OnTurnBasedMatchInitiatedListener

com.google.android.gms.games.multiplayer.turnbased.OnTurnBasedMatchInitiatedListener
Known Indirect Subclasses

This interface is deprecated.
See TurnBasedMultiplayer.InitiateMatchResult.

Class Overview

Listener for receiving callbacks when a match has been initiated.

Summary

Public Methods
abstract void onTurnBasedMatchInitiated(int statusCode, TurnBasedMatch match)
Called when match has been initiated.

Public Methods

public abstract void onTurnBasedMatchInitiated (int statusCode, TurnBasedMatch match)

Called when match has been initiated. This happens when the player creates a new match, or when the player joins an existing match. Possible status codes include:

Parameters
statusCode A status code indicating the result of the operation.
match The newly initiated TurnBasedMatch object. Note that this may be null, depending on the status code returned.