Package-level declarations

Contains high-level classes for interacting with the Airship API. This package provides a very high level interface to the Airship API via UAirship and the Options classes.

Types

Link copied to clipboard
abstract class AirshipComponent
Base class for Airship components.
Link copied to clipboard
This class holds the set of options necessary to properly initialize com.urbanairship.UAirship.
Link copied to clipboard

Coroutine dispatchers using the Airship thread pools.

Link copied to clipboard

Airship initializer.

Link copied to clipboard
fun interface AirshipLogHandler

Log handler

Link copied to clipboard
open class AirshipLoopers
Shared SDK loopers.
Link copied to clipboard
Autopilot allows UAirship.takeOff to be called without overriding the Application class.
Link copied to clipboard
interface Cancelable
Interface for an cancelable operation.
Link copied to clipboard
A cancelable operation that executes its task on a specific looper.
Link copied to clipboard
ChannelCapture detects a knock when the application is foregrounded 6 times in 30 seconds.
Link copied to clipboard

Default log handling. Sends all logs to android.util.Log.

Link copied to clipboard
open class Fonts
Helper class to cache and resolve font families.
Link copied to clipboard

No dependency Airship initializer.

Link copied to clipboard
open class PendingResult<T> : Cancelable, Future<V>
A pending result.
Link copied to clipboard
interface Predicate<T>
Predicate interface.
Link copied to clipboard
Link copied to clipboard
class PrivacyManager @RestrictTo(value = [RestrictTo.Scope.LIBRARY_GROUP]) @JvmOverloads constructor(dataStore: PreferenceDataStore, defaultEnabledFeatures: PrivacyManager.Feature, configObserver: RemoteConfigObserver = RemoteConfigObserver(dataStore), resetEnabledFeatures: Boolean = false)

The privacy manager allow enabling/disabling features in the SDK that require user data. The SDK will not make any network requests or collect data if all features our disabled, with a few exceptions when going from enabled -> disabled. To have the SDK opt-out of all features on startup, set the default enabled features in the AirshipConfig to Feature.NONE, or in the airshipconfig.properties file with enabledFeatures = none.

Link copied to clipboard
interface ResultCallback<T>
Result callback interface.
Link copied to clipboard
open class UAirship
UAirship manages the shared state for all Airship services.
Link copied to clipboard
object UALog

Shared logging wrapper for all Airship log entries. This class serves to consolidate the tag and log level in a single location.

Link copied to clipboard
open class UrlAllowList
Defines a set of URL patterns to match a URL.