click

open override fun click(trackingLink: Uri): Boolean

Notifies that an in-app area within an app has been clicked 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


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

Notifies that an in-app area within an app has been clicked 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.


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

Notifies that an in-app area within an app has been clicked 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.