java.lang.Object | |
↳ | android.content.pm.ConfigurationInfo |
Information you can retrieve about hardware configuration preferences declared by an application. This corresponds to information collected from the AndroidManifest.xml's <uses-configuration> and <uses-feature> tags.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | GL_ES_VERSION_UNDEFINED |
Default value for
reqGlEsVersion
;
|
|||||||||
int | INPUT_FEATURE_FIVE_WAY_NAV |
Value for
reqInputFeatures
: if set, indicates that the application
requires a five way navigation device
|
|||||||||
int | INPUT_FEATURE_HARD_KEYBOARD |
Value for
reqInputFeatures
: if set, indicates that the application
requires a hard keyboard
|
[Expand]
Inherited Constants
|
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
android.os.Parcelable
|
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
CREATOR | ||||||||||
|
reqGlEsVersion | The GLES version used by an application. | |||||||||
|
reqInputFeatures | Flags associated with the input features. | |||||||||
|
reqKeyboardType | Application's input method preference. | |||||||||
|
reqNavigation | A flag indicating whether any keyboard is available. | |||||||||
|
reqTouchScreen | The kind of touch screen attached to the device. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
|
||||||||||
|
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
Describe the kinds of special objects contained in this Parcelable's
marshalled representation.
|
||||||||||
|
This method extracts the major and minor version of reqGLEsVersion attribute
and returns it as a string.
|
||||||||||
|
Returns a string containing a concise, human-readable description of this
object.
|
||||||||||
|
Flatten this object in to a Parcel.
|
[Expand]
Inherited Methods
|
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
|||||||||||
From interface
android.os.Parcelable
|
Default value for
reqGlEsVersion
;
Value for
reqInputFeatures
: if set, indicates that the application
requires a five way navigation device
Value for
reqInputFeatures
: if set, indicates that the application
requires a hard keyboard
The GLES version used by an application. The upper order 16 bits represent the major version and the lower order 16 bits the minor version.
Flags associated with the input features. Any combination of
INPUT_FEATURE_HARD_KEYBOARD
,
INPUT_FEATURE_FIVE_WAY_NAV
Application's input method preference.
One of:
KEYBOARD_UNDEFINED
,
KEYBOARD_NOKEYS
,
KEYBOARD_QWERTY
,
KEYBOARD_12KEY
A flag indicating whether any keyboard is available.
one of:
NAVIGATION_UNDEFINED
,
NAVIGATION_DPAD
,
NAVIGATION_TRACKBALL
,
NAVIGATION_WHEEL
The kind of touch screen attached to the device.
One of:
TOUCHSCREEN_NOTOUCH
,
TOUCHSCREEN_STYLUS
,
TOUCHSCREEN_FINGER
.
Describe the kinds of special objects contained in this Parcelable's marshalled representation.
This method extracts the major and minor version of reqGLEsVersion attribute and returns it as a string. Say reqGlEsVersion value of 0x00010002 is returned as 1.2
Returns a string containing a concise, human-readable description of this object. Subclasses are encouraged to override this method and provide an implementation that takes into account the object's type and data. The default implementation is equivalent to the following expression:
getClass().getName() + '@' + Integer.toHexString(hashCode())
See
Writing a useful
toString
method
if you intend implementing your own
toString
method.
Flatten this object in to a Parcel.
dest | The Parcel in which the object should be written. |
---|---|
parcelableFlags |
Additional flags about how the object should be written.
May be 0 or
PARCELABLE_WRITE_RETURN_VALUE
.
|