Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
class Analytics @VisibleForTesting @RestrictTo(value = [RestrictTo.Scope.LIBRARY_GROUP] ) constructor(context: Context, dataStore: PreferenceDataStore, runtimeConfig: AirshipRuntimeConfig, privacyManager: PrivacyManager, airshipChannel: AirshipChannel, activityMonitor: ActivityMonitor, localeManager: LocaleManager, executor: Executor, eventManager: EventManager, permissionsManager: PermissionsManager, eventFeed: AirshipEventFeed, clock: Clock = Clock.DEFAULT_CLOCK) : AirshipComponent
This class is the primary interface to the Airship Analytics API.
Link copied to clipboard
Creates a map of associated identifier. Used to associate identifiers with Analytics.editAssociatedIdentifiers.
Link copied to clipboard
A class that represents a custom event for the application.
Link copied to clipboard
abstract class Event @JvmOverloads constructor(clock: Clock = Clock.DEFAULT_CLOCK, timeMilliseconds: Long = clock.currentTimeMillis())
This abstract class encapsulates analytics events.
Link copied to clipboard
Tracks Google Play Store install referrals. The receiver needs to be added to the manifest before the install referrals will be tracked:
Functions
Link copied to clipboard
Creates a new CustomEvent.
fun customEvent(type: AccountEventTemplate.Type, properties: AccountEventTemplate.Properties = AccountEventTemplate.Properties(), block: CustomEvent.Builder.() -> Unit): CustomEvent
Creates a new CustomEvent from a AccountEventTemplate.
fun customEvent(type: MediaEventTemplate.Type, properties: MediaEventTemplate.Properties = MediaEventTemplate.Properties(), block: CustomEvent.Builder.() -> Unit): CustomEvent
Creates a new CustomEvent from a MediaEventTemplate.
fun customEvent(type: RetailEventTemplate.Type, properties: RetailEventTemplate.Properties = RetailEventTemplate.Properties(), block: CustomEvent.Builder.() -> Unit): CustomEvent
Creates a new CustomEvent from a RetailEventTemplate.
fun customEvent(type: SearchEventTemplate.Type, properties: SearchEventTemplate.Properties = SearchEventTemplate.Properties(), block: CustomEvent.Builder.() -> Unit): CustomEvent
Creates a new CustomEvent from a SearchEventTemplate.