activate
fun activate(projectId: Int, authenticationOption: AuthenticationOption, gdprOption: GDPROption = GDPROption.Disabled, callback: IAdvizeSDK.Callback? = null): Job
Activate the iAdvize Conversation SDK for a visitor.
Note: In case of successful activation, if a push token was already registered, push notifications are automatically enabled for the user. See
NotificationController.registerPushToken().
Parameters
project Id
Id of the iAdvize project.
authentication Option
The type of authentication used for this visitor.
gdpr Option
Option defining the behavior regarding the GDPR message that can be displayed at the beginning of the conversation.
callback
Completion handler called when the activation process is done.