Interface for retrieving preference center definitions.
Members
get :Promise.<(PreferenceCenter|null)>
Get a preference center by ID.
Type:
-
Promise.<(PreferenceCenter|null)>
Example
const sdk = await UA
const preferenceCenter = await sdk.components.preferenceCenters.get("my_pref_center")
if (preferenceCenter) {
// render preference center in your application
}
list :Promise.<Array>
Retrieve a list of preference centers.
Type:
-
Promise.<Array>