Airbridge

object Airbridge

Functions

Link copied to clipboard

Clears all device aliases.

Link copied to clipboard

Clears all user information.

Link copied to clipboard

Clears all user aliases.

Link copied to clipboard

Clears all user attributes.

Link copied to clipboard

Clear the user email.

Link copied to clipboard

Clear the user ID.

Link copied to clipboard

Clear the user phone number.

Link copied to clipboard
fun click(trackingLink: Uri, onSuccess: OnSuccess<Unit>? = null): Boolean

Notifies that the in-app area within the app has been exposed to the user.

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.

Link copied to clipboard
fun createTrackingLink(channel: String, option: Map<String, Any>, onSuccess: OnSuccess<AirbridgeTrackingLink>, onFailure: OnFailure?)

Creates a tracking-link using airbridge-server that move user to specific page of app and track click-event.

Link copied to clipboard
fun createWebInterfaceScript(webToken: String, postMessageScript: String): String

Creates script that initialize web interface to implement web interface manually.

Link copied to clipboard

Disables the SDK.

Link copied to clipboard

Enables the SDK.

Link copied to clipboard

Fetches the Airbridge Generated UUID using the provided callbacks for success and failure.

Link copied to clipboard

Fetches the Device UUID using the provided callbacks for success and failure.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun handleDeeplink(intent: Intent, onSuccess: OnSuccess<Uri>): Boolean
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.

Link copied to clipboard

Handle deferred deep link and invoke a callback based on the result.

Link copied to clipboard

Handles command from web interface to implement web interface manually.

Link copied to clipboard
fun impression(trackingLink: Uri, onSuccess: OnSuccess<Unit>? = null): Boolean

Notifies that the in-app area within the app has been exposed to the user.

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

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

Link copied to clipboard

Initializes the SDK with the provided app and option.

Link copied to clipboard

Checks whether the SDK is currently enabled.

Link copied to clipboard

Checks whether the SDK is currently enabled for tracking.

Link copied to clipboard
fun isUninstallTrackingNotification(remoteMessage: RemoteMessage): Boolean

check if a push message is uninstall tracking notification

Link copied to clipboard

Registers the FCM registration token to track app uninstalls.

Link copied to clipboard

Removes the device alias with the given key.

Link copied to clipboard

Removes the user alias with the given key.

Link copied to clipboard

Removes the user attribute with the given key.

Link copied to clipboard

Sets the key, value pair to the device alias.

Link copied to clipboard

Sets the key, value pair to the user alias.

Link copied to clipboard

Sets the key, value pair to the user attribute.

Link copied to clipboard

Sets the user email.

Link copied to clipboard

Sets the user ID.

Link copied to clipboard

Sets the user phone number.

Link copied to clipboard
fun setWebInterface(webView: WebView, webToken: String)

Enables the Android SDK to automatically pull all events from the web SDK that is installed on the website of the WebView environment.

Link copied to clipboard

Start collecting and transferring events.

Link copied to clipboard

Stop collecting and transferring events.

Link copied to clipboard
fun trackEvent(category: String, semanticAttributes: Map<String, Any?>? = null, customAttributes: Map<String, Any?>? = null)

Track events.