java.lang.Object | |
↳ | android.content.pm.FeatureInfo |
A single feature that can be requested by an application. This corresponds to information collected from the AndroidManifest.xml's <uses-feature> tag.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | FLAG_REQUIRED | Set on flags if this feature has been required by the application. |
|||||||||
int | GL_ES_VERSION_UNDEFINED | Default value for reqGlEsVersion ;
|
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
android.os.Parcelable
|
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
CREATOR | |||||||||||
flags | Additional flags. | ||||||||||
name | The name of this feature, for example "android.hardware.camera". | ||||||||||
reqGlEsVersion | The GLES version used by an application. |
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
|
Set on flags
if this feature has been required by the application.
Default value for reqGlEsVersion
;
The name of this feature, for example "android.hardware.camera". If
this is null, then this is an OpenGL ES version feature as described
in reqGlEsVersion
.
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. Only valid
if name
is null.
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 .
|