java.lang.Object | |
↳ | com.urbanairship.preference.UAPreferenceAdapter |
This class is deprecated.
Marked to be removed in 7.0.0. This class is no longer necessary. Urban Airship preferences
will now apply on their own.
An adapter to set Urban Airship preferences from Android preference screens without saving values to the shared preferences.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
UAPreferenceAdapter(PreferenceScreen screen)
UAPreferenceAdapter constructor
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
void |
applyUrbanAirshipPreferences()
Applies any preferences to UAirship preferences.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
UAPreferenceAdapter constructor
screen | PreferenceScreen that contains any UAPreferences. Only UAPreferences will be affected. |
---|
Applies any preferences to UAirship preferences.
This should be called on the onStop() method of a preference activity.