Interface AirshipPushIOS

iOS Push.

Hierarchy

  • AirshipPushIOS

Methods

  • Gets the badge number.

    Parameters

    • success: ((badge: number) => void)

      Success callback.

        • (badge: number): void
        • Parameters

          • badge: number

          Returns void

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

      Error callback.

        • (err: string): void
        • Parameters

          • err: string

          Returns void

    Returns void

  • Gets the quiet time settings.

    Parameters

    • success: ((quietTime?: QuietTime) => void)

      Success callback.

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

      Error callback.

        • (err: string): void
        • Parameters

          • err: string

          Returns void

    Returns void

  • Checks if autobadge is enabled.

    Parameters

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

      Success callback.

        • (enabled: boolean): void
        • Parameters

          • enabled: boolean

          Returns void

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

      Error callback.

        • (err: string): void
        • Parameters

          • err: string

          Returns void

    Returns void

  • Checks if quiet time is enabled or not.

    Parameters

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

      Success callback.

        • (enabled: boolean): void
        • Parameters

          • enabled: boolean

          Returns void

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

      Error callback.

        • (err: string): void
        • Parameters

          • err: string

          Returns void

    Returns void

  • Reset the badge number.

    Parameters

    • Optional success: ((result: any) => void)

      Success callback.

        • (result: any): void
        • Parameters

          • result: any

          Returns void

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

      Error callback.

        • (err: string): void
        • Parameters

          • err: string

          Returns void

    Returns void

  • Enables/disables autobadge.

    Parameters

    • enabled: boolean

      true to enable, false 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

  • Set the badge number.

    Parameters

    • badge: number

      The badge number.

    • 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

  • Sets the foreground presentation options.

    Parameters

    • options: ForegroundPresentationOption[]

      The foreground options.

    • 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

  • Sets the notification options.

    Parameters

    • options: NotificationOption[]

      The notification options.

    • 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

  • Sets quiet time.

    Parameters

    • quietTime: QuietTime

      The quiet time.

    • 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/disables quiet time.

    Parameters

    • enabled: boolean

      true to enable, false 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

Generated using TypeDoc