java.lang.Object | ||||
↳ | android.preference.Preference | |||
↳ | android.preference.TwoStatePreference | |||
↳ | android.preference.CheckBoxPreference | |||
↳ | com.urbanairship.preference.UACheckBoxPreference |
![]() |
Urban Airship check box preference.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
protected boolean | isChecked |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
UACheckBoxPreference(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) | |||||||||||
UACheckBoxPreference(Context context, AttributeSet attrs, int defStyleAttr) | |||||||||||
UACheckBoxPreference(Context context, AttributeSet attrs) |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
UAPreference.PreferenceType |
getPreferenceType()
Gets the preference type.
| ||||||||||
View | onCreateView(ViewGroup parent) | ||||||||||
void | setChecked(boolean value) | ||||||||||
void |
setValue(Object value)
Sets the current value of the preference.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract String |
getContentDescription()
Called to get the content description of the preference's view.
| ||||||||||
abstract boolean |
getInitialAirshipValue(UAirship airship)
Gets the initial Urban Airship value for the preference.
| ||||||||||
abstract void |
onApplyAirshipPreference(UAirship airship, boolean enabled)
Called when the preference should be set on Urban Airship.
| ||||||||||
boolean | shouldPersist() |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Gets the preference type.
Sets the current value of the preference.
value | The value of the preference. |
---|
Called to get the content description of the preference's view.
Gets the initial Urban Airship value for the preference.
airship | The UAirship instance. |
---|
Called when the preference should be set on Urban Airship.
airship | The UAirship instance. |
---|---|
enabled | The value of the preference. |