ZendeskMessaging class
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
initialize(
{required String androidChannelKey, required String iosChannelKey}) → Future< void> - Initialize the Zendesk SDK for Android and iOS
-
loginUser(
{required String jwt}) → Future< ZendeskLoginResponse> - Helper function to login waiting for future to complete
-
loginUserCallbacks(
{required String jwt, dynamic onSuccess(String? id, String? externalId)?, dynamic onFailure()?}) → Future< void> - Authenticate the current session with a JWT
-
logoutUser(
) → Future< void> - Helper function to logout waiting for future to complete
-
logoutUserCallbacks(
{dynamic onSuccess()?, dynamic onFailure()?}) → Future< void> - Logout the currently authenticated user
-
setMessageHandler(
dynamic handler(ZendeskMessagingMessageType type, Map? arguments)?) → void - Attach a global observer for incoming messages
-
show(
) → Future< void> - Start the Zendesk Messaging UI