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 voidISFSGameApi. 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...voidSFSGameApi. 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 classSFSInvitationOverviewFields 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. invitationsByIdprotected java.util.Map<User,java.util.List<Invitation>>SFSInvitationManager. invitationsByOwnerMethods in com.smartfoxserver.v2.entities.invitation that return Invitation Modifier and Type Method Description InvitationInvitationManager. findById(int id)Find an invitation from its idInvitationSFSInvitationManager. findById(int id)static InvitationSFSInvitation. 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 voidSFSInvitationManager. handleAcceptedInvitation(Invitation invitation, ISFSObject params)protected voidSFSInvitationManager. handleRefusedInvitation(Invitation invitation, ISFSObject params)voidInvitationCallback. onAccepted(Invitation invObj, ISFSObject params)Fired when the invited User has accepted the invitationvoidInvitationCallback. onExpired(Invitation invObj)The event is fired when the invitation has expired or if the invitee gets disconnected before he sends a response.voidInvitationManager. onInvitationResult(Invitation invitation, InvitationResponse result, ISFSObject params)Handle the response to an invitationvoidSFSInvitationManager. onInvitationResult(Invitation invitation, InvitationResponse result, ISFSObject params)voidInvitationCallback. 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 voidSFSInvitationManager. removeInvitation(Invitation invitation)voidInvitationManager. startInvitation(Invitation invitation, InvitationCallback callBack)Start a new invitationvoidSFSInvitationManager. startInvitation(Invitation invitation, InvitationCallback callBack)voidInvitationManager. suppressInvitation(Invitation invitation)Stop an invitation that is runningvoidSFSInvitationManager. 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 voidGenericInvitationCallback. onAccepted(Invitation invObj, ISFSObject params)voidJoinRoomInvitationCallback. onAccepted(Invitation invObj, ISFSObject params)voidSFSGameInvitationCallback. onAccepted(Invitation invObj, ISFSObject params)voidGenericInvitationCallback. onExpired(Invitation invObj)voidJoinRoomInvitationCallback. onExpired(Invitation invObj)voidSFSGameInvitationCallback. onExpired(Invitation invObj)voidGenericInvitationCallback. onRefused(Invitation invObj, ISFSObject params)voidJoinRoomInvitationCallback. onRefused(Invitation invObj, ISFSObject params)voidSFSGameInvitationCallback. onRefused(Invitation invObj, ISFSObject params)
-