registerUserNavigation

abstract fun registerUserNavigation(navigationOption: NavigationOption = NavigationOption.ClearActiveRule)

Deprecated

Use `activateTargetingRule` or `deactivateTargetingRule` accordingly.See `NavigationOption` documentation for guidance.

Register a user navigation through the app.

This method is now deprecated. You do not need to register the visitor navigation anymore. Simply activate the targeting rule you want to use, using activateTargetingRule(targetingRule:). The iAdvize SDK takes care of keeping the targeting rule availability up to date.

To stop the targeting, call deactivateTargetingRule().

Parameters

navigationOption

Option to choose the strategy relative to the active targeting rule.

See also