handleDeeplink

fun handleDeeplink(intent: Intent, onSuccess: OnSuccess<Uri>): Boolean

Handle Airbridge's deep link from the provided intent and invoke a callback based on the result.

Return

true if all of the following conditions are met:

  • If the SDK is initialized and enabled.

  • If the data in provided intent is Airbridge's deep link.

false otherwise.

Parameters

intent

The intent to handle.

onSuccess

Callback to be invoked when the Airbridge's deep link is successfully handled.


fun handleDeeplink(intent: Intent, onSuccess: OnSuccess<Uri>, onFailure: OnFailure?): Boolean

Handle Airbridge's deep link from the provided intent and invoke a callback based on the result.

Return

true if all of the following conditions are met:

  • If the SDK is initialized and enabled.

  • If the data in provided intent is Airbridge's deep link.

false otherwise.

Parameters

intent

The intent to handle.

onSuccess

Callback to be invoked when the Airbridge's deep link is successfully handled.

onFailure

Callback to be invoked if handling the Airbridge's deep link fails.