Airship analytics.

Constructors

Properties

module: any

Methods

  • Adds a custom event.

    Parameters

    Returns Promise<void>

    A promise that returns null if resolved, or an Error if the custom event is rejected.

  • Associates an identifier.

    Parameters

    • key: string

      The key.

    • Optional identifier: string

      The identifier. null to remove.

    Returns Promise<void>

    A promise.

  • Gets the Airship session ID. The session ID is a UUID that updates on foreground and background.

    Returns Promise<string>

    A promise.

  • Tracks a screen.

    Parameters

    • Optional screen: string

      The screen. null to stop tracking.

    Returns Promise<void>

    A promise.