Package io.smooch.core
Class ConversationViewDelegateAdapter
- java.lang.Object
 - 
- io.smooch.core.ConversationViewDelegateAdapter
 
 
- 
- All Implemented Interfaces:
 ConversationViewDelegate
public abstract class ConversationViewDelegateAdapter extends java.lang.Object implements ConversationViewDelegate
Abstract class that implementsConversationViewDelegate 
- 
- 
Constructor Summary
Constructors Constructor Description ConversationViewDelegateAdapter() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonCreateConversationClick()Called when a new conversation is selectedvoidonRequestPermissionsCalled(java.lang.String[] permissions)Notifies the delegate that permissions for this app have been requestedvoidonStartActivityCalled(android.content.Intent intent)Notifies the delegate that a call to start an activity has been madebooleanshouldCreateCustomConversationFlow()Notifies the ConverstationListActivity that the conversation activity create intent should be sent to the interceptor 
 - 
 
- 
- 
Method Detail
- 
onStartActivityCalled
public void onStartActivityCalled(android.content.Intent intent)
Notifies the delegate that a call to start an activity has been made- Specified by:
 onStartActivityCalledin interfaceConversationViewDelegate- Parameters:
 intent- A copy of the description of the activity that will start
 
- 
onRequestPermissionsCalled
public void onRequestPermissionsCalled(java.lang.String[] permissions)
Notifies the delegate that permissions for this app have been requested- Specified by:
 onRequestPermissionsCalledin interfaceConversationViewDelegate- Parameters:
 permissions- The list of permissions requested
 
- 
shouldCreateCustomConversationFlow
public boolean shouldCreateCustomConversationFlow()
Notifies the ConverstationListActivity that the conversation activity create intent should be sent to the interceptor- Specified by:
 shouldCreateCustomConversationFlowin interfaceConversationViewDelegate- Returns:
 - true if you want to intercept the conversation activity create intent
 
 
- 
onCreateConversationClick
public void onCreateConversationClick()
Called when a new conversation is selected- Specified by:
 onCreateConversationClickin interfaceConversationViewDelegate
 
 - 
 
 -