Package zendesk.messaging.android
Interface Messaging
-
- All Implemented Interfaces:
-
zendesk.android.messaging.Messaging
@Deprecated(message = "Use Zendesk SDK to obtain an instance of Messaging", replaceWith = @ReplaceWith(imports = {"zendesk.android.messaging.Messaging"}, expression = "Messaging")) public interface Messaging implements Messaging
Public entry point of the SDK. To use Messaging out of the box you must call Messaging.initialize first and once SuccessCallback is called the SDK instance will be available through Messaging.instance.
Messaging.initialize( context = context, channelKey = "{your-channel-key}", successCallback = { // The initialization was successful }, failureCallback = { cause -> // The initialization failed and "cause" is an optional "MessagingError" } )
After Messaging.initialize completes successfully, calling Messaging.instance will return an instance of Messaging which you can use to perform SDK actions such as showing the conversation screen.
Messaging.instance().showMessaging(context)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
Messaging.Companion
-
Method Summary
Modifier and Type Method Description -
Methods inherited from class zendesk.android.messaging.Messaging
clearConversationFields, clearConversationTags, getUnreadMessageCount, setConversationFields, setConversationTags, showMessaging, showMessaging
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-