|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface InvitationResponseObserver
A client entity that wishes to generate invitations for games must implement this interface. An invitation can be accepted, refused or countered. A countered invitation is one where the game configuration is adjusted by the invited player and proposed back to the inviting player.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
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.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||