IAdvizeSDK

object IAdvizeSDK

iAdvize Conversation SDK main entry point. Manage all the setup and initialization and gather access to sub-controllers.

Types

Link copied to clipboard

Activation state of the SDK.

Link copied to clipboard
interface Callback

Callback used in various SDK public APIs with asynchronous results.

Link copied to clipboard
sealed class Error : Exception

Properties

Link copied to clipboard

Activation state of the SDK.

Link copied to clipboard

Controller in charge of Chatbox configuration & update.

Link copied to clipboard

Controller in charge of the conversation.

Link copied to clipboard

Controller in charge of default floating button configuration.

Link copied to clipboard

Level of the iAdvize Conversation SDK console logger.

Link copied to clipboard

Controller in charge of notifications.

Link copied to clipboard

Controller in charge of targeting process.

Link copied to clipboard

Controller in charge of transactions.

Link copied to clipboard

Controller in charge of visitor custom data.

Functions

Link copied to clipboard
fun activate(projectId: Int, authenticationOption: AuthenticationOption, gdprOption: GDPROption = GDPROption.Disabled, callback: IAdvizeSDK.Callback? = null): Job

Activate the iAdvize Conversation SDK.

Link copied to clipboard

Returns a JSON String containing detailed information about the state of the iAdvize SDK.

Link copied to clipboard
fun initiate(application: Application, callback: IAdvizeSDK.Callback? = null): Job

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.

Link copied to clipboard
fun logout(callback: IAdvizeSDK.Callback? = null): Job

Logout the user from the SDK. This hides the chat button & disables push notifications. Once this call succeeds, the iAdvize Conversation SDK is deactivated and you will need to call activate again if the user needs to start a new conversation.