activate

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

Activate the iAdvize Conversation SDK.

Once this call succeeds, the iAdvize Conversation SDK is activated. IAdvizeSDK.chatboxController can be used to display the Chat Button to the user and the user can start a conversation.

Parameters

projectId

Application project identifier generated on the "Mobile App" channel on the iAdvize administration website.

authenticationOption

The type of authentication used.

gdprOption

The type of GDPR configuration.

callback

Completion handler called when the activation process is done.

See also