Uses of Interface
com.smartfoxserver.v2.entities.invitation.Invitation
-
Packages that use Invitation Package Description com.smartfoxserver.v2.api com.smartfoxserver.v2.entities.invitation com.smartfoxserver.v2.game -
-
Uses of Invitation in com.smartfoxserver.v2.api
Methods in com.smartfoxserver.v2.api with parameters of type Invitation Modifier and Type Method Description void
ISFSGameApi. sendInvitation(Invitation invitation, InvitationCallback callBackHandler)
Send an Invitation to a User.
An Invitation can be sent for various purposes such as for joining a room/game, adding a friend to the Buddy List etc...void
SFSGameApi. sendInvitation(Invitation invitation, InvitationCallback callBackHandler)
Send an Invitation to a User.
An Invitation can be sent for various purposes such as for joining a room/game, adding a friend to the Buddy List etc... -
Uses of Invitation in com.smartfoxserver.v2.entities.invitation
Classes in com.smartfoxserver.v2.entities.invitation that implement Invitation Modifier and Type Class Description class
SFSInvitation
OverviewFields in com.smartfoxserver.v2.entities.invitation with type parameters of type Invitation Modifier and Type Field Description protected java.util.Map<java.lang.Integer,Invitation>
SFSInvitationManager. invitationsById
protected java.util.Map<User,java.util.List<Invitation>>
SFSInvitationManager. invitationsByOwner
Methods in com.smartfoxserver.v2.entities.invitation that return Invitation Modifier and Type Method Description Invitation
InvitationManager. findById(int id)
Find an invitation from its idInvitation
SFSInvitationManager. findById(int id)
static Invitation
SFSInvitation. fromSFSArray(ISFSArray sfsa)
Methods in com.smartfoxserver.v2.entities.invitation that return types with arguments of type Invitation Modifier and Type Method Description protected java.util.List<Invitation>
SFSInvitationManager. prepareStartInvitation(Invitation invitation, InvitationCallback callBack)
Methods in com.smartfoxserver.v2.entities.invitation with parameters of type Invitation Modifier and Type Method Description protected void
SFSInvitationManager. handleAcceptedInvitation(Invitation invitation, ISFSObject params)
protected void
SFSInvitationManager. handleRefusedInvitation(Invitation invitation, ISFSObject params)
void
InvitationCallback. onAccepted(Invitation invObj, ISFSObject params)
Fired when the invited User has accepted the invitationvoid
InvitationCallback. onExpired(Invitation invObj)
The event is fired when the invitation has expired or if the invitee gets disconnected before he sends a response.void
InvitationManager. onInvitationResult(Invitation invitation, InvitationResponse result, ISFSObject params)
Handle the response to an invitationvoid
SFSInvitationManager. onInvitationResult(Invitation invitation, InvitationResponse result, ISFSObject params)
void
InvitationCallback. onRefused(Invitation invObj, ISFSObject params)
Fired when the invited User has refused the invitationprotected java.util.List<Invitation>
SFSInvitationManager. prepareStartInvitation(Invitation invitation, InvitationCallback callBack)
protected void
SFSInvitationManager. removeInvitation(Invitation invitation)
void
InvitationManager. startInvitation(Invitation invitation, InvitationCallback callBack)
Start a new invitationvoid
SFSInvitationManager. startInvitation(Invitation invitation, InvitationCallback callBack)
void
InvitationManager. suppressInvitation(Invitation invitation)
Stop an invitation that is runningvoid
SFSInvitationManager. suppressInvitation(Invitation invitation)
-
Uses of Invitation in com.smartfoxserver.v2.game
Methods in com.smartfoxserver.v2.game with parameters of type Invitation Modifier and Type Method Description void
GenericInvitationCallback. onAccepted(Invitation invObj, ISFSObject params)
void
JoinRoomInvitationCallback. onAccepted(Invitation invObj, ISFSObject params)
void
SFSGameInvitationCallback. onAccepted(Invitation invObj, ISFSObject params)
void
GenericInvitationCallback. onExpired(Invitation invObj)
void
JoinRoomInvitationCallback. onExpired(Invitation invObj)
void
SFSGameInvitationCallback. onExpired(Invitation invObj)
void
GenericInvitationCallback. onRefused(Invitation invObj, ISFSObject params)
void
JoinRoomInvitationCallback. onRefused(Invitation invObj, ISFSObject params)
void
SFSGameInvitationCallback. onRefused(Invitation invObj, ISFSObject params)
-