impression

override fun impression(trackingLink: Uri): Boolean

Notifies that an in-app area within an app has been exposed on by the user.

Return

true if all of the following conditions are met:

  • If the SDK is initialized and enabled.

  • If tracking link is successfully handled.

false otherwise.

Parameters

trackingLink

tracking link uri


override fun impression(trackingLink: Uri, onSuccess: OnSuccess<Unit>?): Boolean

Notifies that an in-app area within an app has been exposed on by the user.

Return

true if all of the following conditions are met:

  • If the SDK is initialized and enabled.

  • If tracking link is successfully handled.

false otherwise.

Parameters

trackingLink

tracking link uri

onSuccess

Callback to be invoked when tracking link is successfully handled.


override fun impression(trackingLink: Uri, onSuccess: OnSuccess<Unit>?, onFailure: OnFailure?): Boolean

Notifies that an in-app area within an app has been exposed on by the user.

Return

true if all of the following conditions are met:

  • If the SDK is initialized and enabled.

  • If tracking link is successfully handled.

false otherwise.

Parameters

trackingLink

tracking link uri

onSuccess

Callback to be invoked when tracking link is successfully handled.

onFailure

Callback to be invoked when any exception occurs.