Class AirshipPreferenceCenter

Airship Preference Center.

Hierarchy

  • AirshipPreferenceCenter

Constructors

Properties

plugin: AirshipPluginWrapper

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.

    Returns

    A promise.

    Parameters

    • preferenceCenterId: string

      The preference center Id.

    Returns Promise<void>

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

    Returns

    A promise with the result.

    Parameters

    • preferenceCenterId: string

      The preference center Id.

    • autoLaunch: boolean

      true to show OOTB UI, false to emit events.

    Returns Promise<void>

Generated using TypeDoc