AirshipConfigOptions

This class holds the set of options necessary to properly initialize com.urbanairship.UAirship.

Types

Link copied to clipboard
class Builder
Airship config builder.
Link copied to clipboard
Config exceptions when trying to load properties from a resource.
Link copied to clipboard
annotation class Site

Properties

Link copied to clipboard
The ADM transport type for Push.
Link copied to clipboard
The transport types allowed for Push.
Link copied to clipboard
Flag indicating whether the application will use analytics.
Link copied to clipboard
Airship app key.
Link copied to clipboard
Airship app secret.
Link copied to clipboard
Optional app store link when using the rate app action.
Link copied to clipboard
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
Flag indicating whether or not the SDK will automatically pause In-App Automation during app launch.
Link copied to clipboard
Minimum delta in milliseconds between analytics uploads when adding location events while in the background.
Link copied to clipboard
Flag indicating whether channel capture feature is enabled or not.
Link copied to clipboard
Flag indicating whether channel creation delay is enabled or not.
Link copied to clipboard
Flag indicating if the data collection opt-in is enabled.
Link copied to clipboard
Default enabled Airship features for the app.
Link copied to clipboard
Flag indicating whether or not to perform extended broadcasts.
Link copied to clipboard
The FCM transport type for Push.
Link copied to clipboard
The Firebase app name to use for FCM instead of the default app.
Link copied to clipboard
Maps to the feature ALL when used in the properties or xml config.
Link copied to clipboard
val FEATURE_ANALYTICS: String = "analytics"
Maps to the feature ANALYTICS when used in the properties or xml config.
Link copied to clipboard
val FEATURE_CONTACTS: String = "contacts"
Maps to the feature CONTACTS when used in the properties or xml config.
Link copied to clipboard
val FEATURE_FEATURE_FLAGS: String = "feature_flags"
Maps to the feature FEATURE_FLAGS when used in the properties or xml config.
Link copied to clipboard
val FEATURE_IN_APP_AUTOMATION: String = "in_app_automation"
Maps to the feature IN_APP_AUTOMATION when used in the properties or xml config.
Link copied to clipboard
val FEATURE_MESSAGE_CENTER: String = "message_center"
Maps to the feature MESSAGE_CENTER when used in the properties or xml config.
Link copied to clipboard
Maps to the feature NONE when used in the properties or xml config.
Link copied to clipboard
Maps to the feature PUSH when used in the properties or xml config.
Link copied to clipboard
val FEATURE_TAGS_AND_ATTRIBUTES: String = "tags_and_attributes"
Maps to the feature TAGS_AND_ATTRIBUTES when used in the properties or xml config.
Link copied to clipboard
The HMS transport type for Push.
Link copied to clipboard
The initial config URL.
Link copied to clipboard
Flag indicating whether the application is in production.
Flag indicating whether or not the SDK will automatically prompt for notification permission when enabling notifications with setUserNotificationsEnabled.
Link copied to clipboard
Logger level when the application is in debug mode.
Link copied to clipboard
Notification accent color.
Link copied to clipboard
The default notification channel.
Link copied to clipboard
Notification icon.
Link copied to clipboard
Large notification icon.
Link copied to clipboard
Flag indicating whether the SDK will wait for an initial remote config instead of falling back on default API URLs.
Link copied to clipboard
Allows resetting enabled features to match the runtime config defaults on each takeOff Defaults to false.
Link copied to clipboard
val SITE_EU: String = "EU"
EU data site.
Link copied to clipboard
val SITE_US: String = "US"
US data site.
Link copied to clipboard
Additional URLs that will be added to the allow list for both SCOPE_OPEN_URL and SCOPE_JAVASCRIPT_INTERFACE scopes.
Link copied to clipboard
Additional URLs that will be added to the allow list for scope SCOPE_JAVASCRIPT_INTERFACE.
Link copied to clipboard
Additional URLs that will be added to the allow list for scope SCOPE_OPEN_URL.

Functions

Link copied to clipboard
Factory method to create an AirshipConfig builder.
Link copied to clipboard
open fun validate()
Validates the config.