public interface ConversationViewDelegate
Creating a delegate is optional, and may be used to receive callbacks when certain events happen in the conversation view.
Callbacks are guaranteed to be called from the main thread.
| Modifier and Type | Method and Description |
|---|---|
void |
onCreateConversationClick()
Called when a new conversation is selected
|
void |
onRequestPermissionsCalled(java.lang.String[] permissions)
Notifies the delegate that permissions for this app have been requested
|
void |
onStartActivityCalled(android.content.Intent intent)
Notifies the delegate that a call to start an activity has been made
|
boolean |
shouldCreateCustomConversationFlow()
Notifies the ConverstationListActivity that the conversation activity create intent
should be sent to the interceptor
|
void onStartActivityCalled(android.content.Intent intent)
intent - A copy of the description of the activity that will startvoid onRequestPermissionsCalled(java.lang.String[] permissions)
permissions - The list of permissions requestedboolean shouldCreateCustomConversationFlow()
void onCreateConversationClick()