Package im.getsocial.sdk.ui.invites
Interface InviteUiCallback
-
public interface InviteUiCallback
Used to get result ofViewBuilder.show()
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onCancel(java.lang.String channelId)
Called to indicate the invite was canceled by the user.void
onComplete(java.lang.String channelId)
Called to indicate the invite was successful.void
onError(java.lang.String channelId, GetSocialError error)
Called to indicate there was an error sending the invite.
-
-
-
Method Detail
-
onComplete
void onComplete(java.lang.String channelId)
Called to indicate the invite was successful.- Parameters:
channelId
- Id of invite channel selected by user.
-
onCancel
void onCancel(java.lang.String channelId)
Called to indicate the invite was canceled by the user.- Parameters:
channelId
- Id of invite channel selected by user.
-
onError
void onError(java.lang.String channelId, GetSocialError error)
Called to indicate there was an error sending the invite.- Parameters:
channelId
- Id of invite channel selected by user.error
- The throwable that describes the error.
-
-