public class JoinRoomInvitationCallback extends java.lang.Object implements InvitationCallback
Constructor and Description |
---|
JoinRoomInvitationCallback(Room targetRoom) |
Modifier and Type | Method and Description |
---|---|
void |
onAccepted(Invitation invObj,
ISFSObject params)
Fired when the invited User has accepted the invitation
|
void |
onExpired(Invitation invObj)
The event is fired when the invitation has expired or if the invitee gets disconnected
before he sends a response.
|
void |
onRefused(Invitation invObj,
ISFSObject params)
Fired when the invited User has refused the invitation
|
public JoinRoomInvitationCallback(Room targetRoom)
public void onAccepted(Invitation invObj, ISFSObject params)
InvitationCallback
onAccepted
in interface InvitationCallback
invObj
- the invitationparams
- optional custom parameters sent by the inviteepublic void onRefused(Invitation invObj, ISFSObject params)
InvitationCallback
onRefused
in interface InvitationCallback
invObj
- the invitationparams
- optional custom parameters sent by the inviteepublic void onExpired(Invitation invObj)
InvitationCallback
onExpired
in interface InvitationCallback
invObj
- the invitation