@ua/react-native-airship
    Preparing search index...

    Class AirshipInApp

    Airship InApp Experiences.

    Index

    Constructors

    Methods

    • Adds a listener to listen for if an embedded ID is ready to display or not.

      Parameters

      • embeddedId: string

        The embedded ID to check.

      • listener: (isReady: boolean) => void

        The listener.

      Returns Subscription

      A subscription that can be used to cancel the listener.

    • Gets the display interval.

      Returns Promise<number>

      A promise with the result.

    • Checks if embedded message is ready for the given ID.

      Parameters

      • embeddedId: string

        The embedded ID to check.

      Returns boolean

      true if one is ready, otherwise false.

    • Checks if messages are paused.

      Returns Promise<boolean>

      A promise with the result.

    • Sets the display interval for messages.

      Parameters

      • milliseconds: number

        Display interval

      Returns Promise<void>

      A promise.

    • Pauses messages.

      Parameters

      • paused: boolean

        true to pause, false to resume.

      Returns Promise<void>

      A promise.