Airship

Constructors

Properties

analytics: AirshipAnalytics
eventEmitter: UAEventEmitter
featureFlagManager: AirshipFeatureFlagManager
messageCenter: AirshipMessageCenter
module: any
preferenceCenter: AirshipPreferenceCenter
privacyManager: AirshipPrivacyManager

Methods

  • Checks if Airship is ready.

    Returns Promise<boolean>

    A promise with the result.

  • Removes all listeners for a given type.

    Parameters

    Returns void

  • Removes a listener.

    Type Parameters

    Parameters

    • eventType: EventType

      The event type.

    • listener: ((event) => any)

      The event listener. Should be a reference to the function passed into addListener.

    Returns void

  • Calls takeOff. If Airship is already configured for the app session, the new config will be applied on the next app init.

    Parameters

    Returns Promise<boolean>

    A promise with the result. true if airship is ready.