Interface AirshipPrivacyManager

Airship Privacy Manager.

Hierarchy

  • AirshipPrivacyManager

Methods

  • Disable features.

    Parameters

    • features: Feature[]

      The features to disable.

    • 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

  • Enables additional features.

    Parameters

    • features: Feature[]

      The features to enable.

    • 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

  • Gets the current enabled features.

    Parameters

    • success: ((features: Feature[]) => void)

      Success callback.

        • (features: Feature[]): void
        • Parameters

          Returns void

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

      Error callback.

        • (err: string): void
        • Parameters

          • err: string

          Returns void

    Returns void

  • Checks if the features are enabled or not.

    Parameters

    • features: Feature[]

      The features to check.

    • success: ((isEnabled: boolean) => void)

      Success callback to receive the check result.

        • (isEnabled: boolean): void
        • Parameters

          • isEnabled: boolean

          Returns void

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

      Error callback.

        • (err: string): void
        • Parameters

          • err: string

          Returns void

    Returns void

  • Sets the current set of enabled features.

    Parameters

    • features: Feature[]

      The features to set.

    • 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