IAdvize SDK
The iAdvize SDK lets you provide a unique conversational experience to your users.
You access the SDK through this IAdvizeSDK instance.
Start by configuring the SDK using initiate, then you can authenticate a visitor through activate.
You can then rely on the provided controllers to configure and monitor the various parts of the conversational experience:
The
targetingControllerlets you control the targeting process.The
defaultFloatingButtonControllerlets you configure the chat button.The
chatboxControllerlets you configure the chatbox.The
notificationControllerlets you configure push notifications.The
conversationControllerlets you monitor the ongoing conversation.The
transactionControllerlets you register transactions.The
visitorControllerlets you register custom data related to the visitor.
Properties
Activation state of the SDK.
Controller in charge of the chatbox configuration & update.
Controller in charge of the conversation.
Controller in charge of the chat button configuration.
Level of the iAdvize Conversation SDK console logger.
Controller in charge of push notifications.
Controller in charge of the targeting process.
Controller in charge of transactions.
Controller in charge of visitor custom data.
Functions
Activate the iAdvize Conversation SDK for a visitor.
Returns a JSON String containing detailed information about the state of the iAdvize SDK.
Initiate the iAdvize conversation SDK for your app. This will register a callback on activities lifecycle to help through SDK usage in the app. This must be done as soon as possible.
Logout the user from the SDK. This hides the chat button, disables push notifications and clears all the locally stored visitor data. You will need to call activate again if the user needs to start a new conversation.