Interface AirshipAnalytics

Airship analytics.

Hierarchy

  • AirshipAnalytics

Methods

  • Adds a custom event.

    Parameters

    • event: CustomEvent

      The custom event.

    • Optional success: (() => void)

      Success callback.

        • (): void
        • Returns void

    • Optional error: ((err: string) => void)

      Error callback.

        • (err: string): void
        • Parameters

          • err: string

          Returns void

    Returns void

  • Associates an identifier.

    Parameters

    • key: string

      The key.

    • Optional identifier: string

      The identifier. null to remove.

    • Optional success: (() => void)

      Success callback.

        • (): void
        • Returns void

    • Optional error: ((err: string) => void)

      Error callback.

        • (err: string): void
        • Parameters

          • err: string

          Returns void

    Returns void

  • Tracks a screen.

    Parameters

    • Optional screen: string

      The screen. null to stop tracking.

    • Optional success: (() => void)

      Success callback.

        • (): void
        • Returns void

    • Optional error: ((err: string) => void)

      Error callback.

        • (err: string): void
        • Parameters

          • err: string

          Returns void

    Returns void

Generated using TypeDoc