Package zendesk.android.messaging
Interface Messaging
-
- All Implemented Interfaces:
public interface Messaging
Public entry point of the SDK.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
Messaging.Companion
-
Method Summary
Modifier and Type Method Description abstract Unit
showMessaging(Context context)
Given the context, starts the ConversationActivity immediately. abstract Unit
showMessaging(Context context, Integer intentFlags)
Given the context and intentFlags, starts the ConversationActivity immediately. abstract Integer
getUnreadMessageCount()
Returns the current number of unread messages. abstract Unit
setConversationFields(Map<String, Object> fields)
Sets the given fields values that will be associated against any conversations that the end user actively participates in. abstract Unit
setConversationTags(List<String> tags)
Sets the given tags values that will be associated against any conversations that the end user actively participates in. abstract Unit
clearConversationFields()
Clears conversation fields values from storage abstract Unit
clearConversationTags()
Clears conversation tags from storage -
-
Method Detail
-
showMessaging
abstract Unit showMessaging(Context context)
Given the context, starts the ConversationActivity immediately.
- Parameters:
context
- the Context to start the activity
-
showMessaging
abstract Unit showMessaging(Context context, Integer intentFlags)
Given the context and intentFlags, starts the ConversationActivity immediately.
- Parameters:
context
- the Context to start the activityintentFlags
- special flags controlling how the intent to start the ConversationActivity is handled, 0 by default
-
getUnreadMessageCount
abstract Integer getUnreadMessageCount()
Returns the current number of unread messages.
-
setConversationFields
abstract Unit setConversationFields(Map<String, Object> fields)
Sets the given fields values that will be associated against any conversations that the end user actively participates in.
-
setConversationTags
abstract Unit setConversationTags(List<String> tags)
Sets the given tags values that will be associated against any conversations that the end user actively participates in.
-
clearConversationFields
abstract Unit clearConversationFields()
Clears conversation fields values from storage
-
clearConversationTags
abstract Unit clearConversationTags()
Clears conversation tags from storage
-
-
-
-