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
project Id
Application project identifier generated on the "Mobile App" channel on the iAdvize administration website.
authentication Option
The type of authentication used.
gdpr Option
The type of GDPR configuration.
callback
Completion handler called when the activation process is done.