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.
The preference center Id.
Optional
success: (() => void)Success callback.
Optional
error: ((err: string) => void)Error callback.
Gets the preference center config.
The preference center Id.
Success callback.
Optional
error: ((err: string) => void)Error callback.
Event when the message center a preference center is requested to display.
A cancellable that can be used to cancel the listener.
The callback.
Enables or disables showing the OOTB UI when requested to display by either
display
or by a notification with some other action.
The preference center Id.
true to show OOTB UI, false to emit events.
Generated using TypeDoc
Airship Preference Center.