Builder

class Builder

Airship config builder.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open fun applyConfig(@NonNull context: Context, @XmlRes xmlResourceId: Int): AirshipConfigOptions.Builder
Apply options from a xml resource file.
Link copied to clipboard
Apply the options from the default properties file airshipconfig.properties.
Link copied to clipboard
Apply the options from a given properties file.
Applies properties from a given Properties object.
Link copied to clipboard
Builds the config options.
Link copied to clipboard
Automatically determine the provisioning mode of the application.
Link copied to clipboard
Set the transport types allowed for Push.
Link copied to clipboard
Set the flag indicating whether the application will use analytics.
Link copied to clipboard
Set the default app key.
Link copied to clipboard
Set the default app secret.
Link copied to clipboard
Sets the app store URI for the rate-app action.
Link copied to clipboard
Set the flag indicating whether or not to launch the launcher activity when a push notification or push notification button is opened and the application intent receiver did not launch an activity.
Link copied to clipboard
Set the auto pause In-App Automation on launch.
Link copied to clipboard
Set the background reporting interval.
Link copied to clipboard
Set the flag indicating whether channel capture feature is enabled or not.
Link copied to clipboard
Set the flag indicating whether channel creation delay is enabled or not.
Link copied to clipboard
Set the flag indicating whether data collection needs to be opted in with setDataCollectionEnabled.
Link copied to clipboard
Set the application's development app key.
Link copied to clipboard
Set the application's development app secret.
Link copied to clipboard
Set the logger level when the application is in debug mode.
Link copied to clipboard
Sets the default enabled SDK features.
Link copied to clipboard
Set the flag indicating whether extended broadcasts are enabled or disabled.
Link copied to clipboard
Sets the Firebase app name that is used for FCM.
Link copied to clipboard
The Airship URL used to pull the initial config.
Link copied to clipboard
Set the flag indicating whether the application is in production or development.
Sets if when enabling setUserNotificationsEnabled if the SDK should prompt for permission on Android 13+ devices.
Link copied to clipboard
Set the default logger level.
Link copied to clipboard
Sets the default notification accent color.
Link copied to clipboard
Sets the default notification channel.
Link copied to clipboard
Sets the default notification Icon.
Link copied to clipboard
Sets the large notification Icon.
Link copied to clipboard
Set the application's production app key.
Link copied to clipboard
Set the application's production app secret.
Link copied to clipboard
Set the logger level when the application is in production mode.
Link copied to clipboard
Sets the flag to require initial remote-config for device URLs.
Link copied to clipboard
Set the reset enabled features option.
Link copied to clipboard
Sets the Airship cloud site for data locality.
Link copied to clipboard
Sets the additional URLs that will be added to the allow list for both SCOPE_OPEN_URL and SCOPE_JAVASCRIPT_INTERFACE scopes.
Link copied to clipboard
Sets the additional URLs that will be added to the allow list for scope SCOPE_JAVASCRIPT_INTERFACE.
Link copied to clipboard
Sets the additional URLs that will be added to the allow list for scope SCOPE_OPEN_URL.
Link copied to clipboard
The same as applyConfig, but throws an exception instead of logging an error.
Link copied to clipboard
Same as applyDefaultProperties, but throws an exception instead of logging an error.
Link copied to clipboard
Same as applyProperties, but throws an exception instead of logging an error.
The same as applyProperties, but throws an exception instead of logging an error.