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

    Class AirshipPreferenceCenter

    Airship Preference Center.

    Index

    Constructors

    Methods

    • Requests to display a preference center.

      Will either emit an event to display the Preference Center if auto launch is disabled, or display the OOTB UI.

      Parameters

      • preferenceCenterId: string

        The preference center Id.

      Returns Promise<void>

      A promise.

    • Enables or disables showing the OOTB UI when requested to display by either display or by a notification with some other action.

      Parameters

      • preferenceCenterId: string

        The preference center Id.

      • autoLaunch: boolean

        true to show OOTB UI, false to emit events.

      Returns void