public interface Invitation
Modifier and Type | Method and Description |
---|---|
InvitationCallback |
getCallback()
Obtain a reference to the CallBack handler class
|
int |
getExpiryTime()
The expiration timestamp.
|
int |
getId()
Get the unique invitation ID
|
User |
getInvitee()
Get the Invitee, the user that receives the invitation
|
User |
getInviter()
Get the Inviter, the user that started this invitation
|
ISFSObject |
getParams()
An SFSObject of custom parameters can be attached to the invitation.
|
int |
getSecondsForAnswer()
The amount of seconds given to the invitee to respond to the invitation
|
boolean |
isExpired()
Checks if the invitation is expired.
|
void |
setCallback(InvitationCallback callback)
Set the CallBack handler for the invitation.
|
void |
setParams(ISFSObject params)
An SFSObject of custom parameters can be attached to the invitation.
|
int getId()
User getInviter()
User getInvitee()
boolean isExpired()
int getExpiryTime()
int getSecondsForAnswer()
InvitationCallback getCallback()
InvitationCallback
void setCallback(InvitationCallback callback)
callback
- the callback handlerInvitationCallback
ISFSObject getParams()
SFSObject
void setParams(ISFSObject params)
params
- the custom parametersSFSObject