Airbridge class Null safety

Constructors

Airbridge()

Properties

hashCode int
The hash code for this object.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

clearDeviceAlias() → void
Clears all device aliases.
clearUser() → void
Clears all user information.
clearUserAlias() → void
Clears all user aliases.
clearUserAttributes() → void
Clears all user attributes.
clearUserEmail() → void
Clear the user email.
clearUserID() → void
Clear the user ID.
clearUserPhone() → void
Clear the user phone number.
click({required String trackingLink, void onSuccess()?, void onFailure(String)?}) Future<bool>
Notifies that the in-app area within the app has been exposed to the user.
Creates a tracking-link using airbridge-server that move user to specific page of app and track click-event.
createWebInterfaceScript({required String webToken, required String postMessageScript}) Future<String?>
Creates a script that initialize the web interface.
disableSDK() → void
Disables the SDK.
enableSDK() → void
Enables the SDK.
fetchAirbridgeGeneratedUUID({required void onSuccess(String), void onFailure(String)?}) Future<bool>
Fetch airbridgeGeneratedUUID of SDK.
fetchDeviceUUID({required void onSuccess(String), void onFailure(String)?}) Future<bool>
Fetch deviceUUID of SDK.
handleWebInterfaceCommand(String command) → void
Handles commands from the web interface.
impression({required String trackingLink, void onSuccess()?, void onFailure(String)?}) Future<bool>
Notifies that an in-app area within an app has been clicked on by the user.
isInAppPurchaseTrackingEnabled() Future<bool>
Indicates that SDK can track event automatically for each user purchases product through in-app-purchase.
isSDKEnabled() Future<bool>
Checks whether the SDK is currently enabled.
isTrackingEnabled() Future<bool>
Checks whether the tracking feature of SDK is currently enabled.
isUninstallTrackingNotification(Map<String, dynamic> notification) bool
Indicates whether notification was sent by Airbridge to track uninstall of app.
registerPushToken(String token) → void
Registers the FCM or APNS registration token to track app uninstalls.
removeDeviceAlias({required String key}) → void
Removes the device alias with the given key.
removeUserAlias({required String key}) → void
Removes the user alias with the given key.
removeUserAttribute({required String key}) → void
Removes the user attribute with the given key.
setDeviceAlias({required String key, required String value}) → void
Sets the key, value pair to the device alias.
setOnAttributionReceived(void onReceived(Map<String, String>)) → dynamic
Sets a listener for receiving attribution of install event.
setOnDeeplinkReceived(void onReceived(String)) → void
Handles deeplink and deferred-deeplink.
setUserAlias({required String key, required String value}) → void
Sets the key, value pair to the user alias.
setUserAttribute({required String key, required dynamic value}) → void
Sets the key, value pair to the user attribute.
setUserEmail(String email) → void
Sets the user email.
setUserID(String id) → void
Sets the user ID.
setUserPhone(String phone) → void
Sets the user phone number.
startInAppPurchaseTracking() → void
Starts tracking event automatically for each user purchases product through in-app-purchase.
startTracking() → void
Start collecting and transferring events.
stopInAppPurchaseTracking() → void
Stops tracking event automatically for each user purchases product through in-app-purchase.
stopTracking() → void
Stop collecting and transferring events.
trackEvent({required String category, Map<String, dynamic>? semanticAttributes, Map<String, dynamic>? customAttributes}) → void
Tracks user behavior through event tracking with attributes.