Interface AirshipLocale

Manages locale used by Airship messaging.

Hierarchy

  • AirshipLocale

Methods

  • Clears the locale override.

    Parameters

    • 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 locale.

    Parameters

    • success: ((locale: string) => void)

      Success callback.

        • (locale: string): void
        • Parameters

          • locale: string

          Returns void

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

      Error callback.

        • (err: string): void
        • Parameters

          • err: string

          Returns void

    Returns void

  • Sets the locale override.

    Parameters

    • localeIdentifier: string

      The locale identifier.

    • 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