public interface InvitationResponseObserver
| Modifier and Type | Method and Description |
|---|---|
void |
invitationAccepted(Invitation invite)
Called if the invitation was accepted.
|
void |
invitationCountered(Invitation invite,
GameConfig config)
Called if the invitation was countered with an alternate game
configuration.
|
void |
invitationRefused(Invitation invite,
String message)
Called if the invitation was refused.
|
void invitationAccepted(Invitation invite)
invite - the invitation for which we received a response.void invitationRefused(Invitation invite, String message)
invite - the invitation for which we received a response.message - a message provided by the invited user explaining
the reason for their refusal, or the empty string if no message was
provided.void invitationCountered(Invitation invite, GameConfig config)
invite - the invitation for which we received a response.config - the game configuration proposed by the invited
player.Copyright © 2015. All rights reserved.