Interface AirshipContact

Airship contact.

Hierarchy

  • AirshipContact

Methods

  • Gets the named user Id.

    Parameters

    • success: ((namedUserId: undefined | null | string) => void)

      Success callback.

        • (namedUserId: undefined | null | string): void
        • Parameters

          • namedUserId: undefined | null | string

          Returns void

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

      Error callback.

        • (err: string): void
        • Parameters

          • err: string

          Returns void

    Returns void

  • Gets the contacts subscription lists.

    Parameters

    • success: ((subscriptionLists: Record<string, SubscriptionScope[]>) => void)

      Success callback.

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

      Error callback.

        • (err: string): void
        • Parameters

          • err: string

          Returns void

    Returns void

  • Identifies the contact with a named user Id.

    Parameters

    • namedUser: string

      The named user Id.

    • 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

  • Notifies the contact of a remote login.

    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

  • Resets the contact.

    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

Generated using TypeDoc