Class JoinRoomInvitationCallback

java.lang.Object
com.smartfoxserver.game.JoinRoomInvitationCallback
All Implemented Interfaces:
InvitationCallback

public class JoinRoomInvitationCallback extends Object implements InvitationCallback
  • Constructor Details

    • JoinRoomInvitationCallback

      public JoinRoomInvitationCallback(Room targetRoom)
  • Method Details

    • onAccepted

      public void onAccepted(Invitation invObj, ISFSObject params)
      Description copied from interface: InvitationCallback
      Fired when the invited User has accepted the invitation
      Specified by:
      onAccepted in interface InvitationCallback
      Parameters:
      invObj - the invitation
      params - optional custom parameters sent by the invitee
    • onRefused

      public void onRefused(Invitation invObj, ISFSObject params)
      Description copied from interface: InvitationCallback
      Fired when the invited User has refused the invitation
      Specified by:
      onRefused in interface InvitationCallback
      Parameters:
      invObj - the invitation
      params - optional custom parameters sent by the invitee
    • onExpired

      public void onExpired(Invitation invObj)
      Description copied from interface: InvitationCallback
      The event is fired when the invitation has expired or if the invitee gets disconnected before he sends a response.
      Specified by:
      onExpired in interface InvitationCallback
      Parameters:
      invObj - the invitation