AirshipPreferenceCenter class

Constructors

AirshipPreferenceCenter(AirshipModule module)

Properties

hashCode → int
The hash code for this object.
no setterinherited
onDisplay → Stream<DisplayPreferenceCenterEvent>
Gets show preference center event stream.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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