Interface AirshipFeatureFlagManager

Airship feature flag manager.

Hierarchy

  • AirshipFeatureFlagManager

Methods

  • Retrieve a given flag's status and associated data by its name.

    Parameters

    • flagName: string

      The flag name

    • success: ((flag: FeatureFlag) => void)

      Success callback.

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

      Error callback.

        • (err: string): void
        • Parameters

          • err: string

          Returns void

    Returns void

  • Tracks a feature flag interaction event.

    Parameters

    • flag: FeatureFlag

      The flag

    • 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