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

projectId

Id of the iAdvize project.

authenticationOption

The type of authentication used for this visitor.

gdprOption

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.

See also