Airbridge Option Builder
Builder class for creating an AirbridgeOption instance with various configuration options.
Sample usage
Every option's setters are chainable.
AirbridgeOptionBuilder("YOUR_APP_NAME", "YOUR_APP_SDK_TOKEN")
.setLogLevel(AirbridgeLogLevel.DEBUG)
.setSDKEnabled(true)
.build()
Parameters
The app name.
The app token.
Functions
Builds an AirbridgeOption instance with the configured options.
Enables or disables automatic start of event collection and transfer (default value is true
).
Enables or disables emptying the device's internal database of unprocessed events that were not sent to Airbridge (default value is false
).
Enables or disables collecting user location information (default value is false
).
Sets custom domains (default value is emptyList).
Enables or disables sending error logs of the SDK to the Airbridge server to improve the quality of the Airbridge SDK (default value is true
).
Sets the maximum number of events to be stored (default value is Int.MAX_VALUE).
Set the maximum gibibyte size of events to be stored (default value is 1 TiB).
Sets the event transmission interval in seconds (default value is 0
).
Enables or disables hashing of user information for privacy (default value is true
).
Use this method to fetch the correct deep links in exceptional circumstances.
Sets the log level (default value is AirbridgeLogLevel.WARNING).
Sets the Meta(Facebook) ID to collect Meta on-device attribution information (default value is null
).
Sets a listener for receiving attribution result data (default value is null
).
Enables or disables the pausing of event transmission when the app is in the background (default value is false
).
Indicates additional SDK attributes of Airbridge.
Sets the development platform (default value is "native"
).
Enables or disables Airbridge SDK (default value is true
).
Sets the SDK signature using the provided secret id and secret key (default value is null
).
Indicates additional SDK wrapper option of Airbridge.
Sets the session timeout in seconds (default value is 300
).
Enables or disables receiving deep link events for Airbridge deep links only (default value is false
).
Enables or disables the collection of lifecycle events ORGANIC_REOPEN
, FOREGROUND
within the session timeframe (default value is false
).
Enables or disables the Airbridge SDK to utilize Meta(Facebook)'s deferred app link information (default value is false
).