AirshipPreferenceCenter class
Methods
-
display(String preferenceCenterID)
→ Future<void>
-
Opens the Preference Center with the given
preferenceCenterID.
-
getConfig(String preferenceCenterID)
→ Future<PreferenceCenterConfig?>
-
Returns the configuration of the Preference Center with the given
preferenceCenterID.
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
setAutoLaunchDefaultPreferenceCenter(String preferenceCenterID, bool autoLaunch)
→ Future<void>
-
Enables or disables auto launching the Preference Center with the given
preferenceCenterID.
If auto launch is enabled, Airship will show an OOTB UI for the given preference center ID. If
disabled, a display preference center event will be emitted.
-
toString()
→ String
-
A string representation of this object.
inherited
Operators
-
operator ==(Object other)
→ bool
-
The equality operator.
inherited