Language

SettingsPreferenceValueType Enum

Definition

Specifies the data type of a Settings preference value.

public enum SettingsPreferenceValueType
type SettingsPreferenceValueType = 
Inheritance
SettingsPreferenceValueType

Fields

Name Value Description
Boolean 0

The value is a Boolean. Access it through the BooleanValue property.

Long 1

The value is a long integer. Access it through the LongValue property.

Double 2

The value is a double. Access it through the DoubleValue property.

String 3

The value is a string. Access it through the StringValue property.

Int 4

The value is an integer. Access it through the IntValue property.

Remarks

Java documentation for android.service.settings.preferences.SettingsPreferenceValue.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to