Airship analytics.

Constructors

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.

    • Optionalidentifier: 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

    • Optionalscreen: string

      The screen. null to stop tracking.

    Returns Promise<void>

    A promise.