Sequenceablepublic class DeviceConfigInfo extends Object implements Sequenceable
IAbilityManager.getDeviceConfigInfo().SystemCapability.Aafwk#ABILITYSequenceable.Producer<T>| 限定符和类型 | 字段 | 说明 |
|---|---|---|
static int |
GLES_VERSION_DEFAULT |
Indicates that the application does not define the OpenGL ES version requirement, which is the default value.
|
static int |
INPUT_FLAG_FIVE_WAY_NAV |
Indicates that the application requires an external five-way (up, down, right, left, and select) navigation
device, such as a D-pad, trackball, or scroll wheel.
|
static int |
INPUT_FLAG_HARD_KEYBOARD |
Indicates that the application requires an external physical keyboard.
|
static int |
KEY_BOARD_12KEY |
Indicates that the application requires a keyboard with a 12-key layout.
|
static int |
KEY_BOARD_COMMON |
Indicates that the application requires a keyboard with a QWERTY layout.
|
static int |
KEY_BOARD_DEFAULT |
Indicates that the application does not define the keyboard requirement, which is the default value.
|
static int |
KEY_BOARD_NOKEYS |
Indicates that the application does not require a keyboard.
|
static int |
NAVIGATION_DEFAULT |
Indicates that the application does not define the navigation device requirement, which is the default value.
|
static int |
NAVIGATION_DPAD |
Indicates that the application requires a directional pad (D-pad) for navigation control.
|
static int |
NAVIGATION_NONAV |
Indicates that the application does not require any type of navigation devices.
|
static int |
NAVIGATION_TRACKBALL |
Indicates that the application requires a trackball for navigation control.
|
static int |
NAVIGATION_WHEEL |
Indicates that the application requires a scroll wheel for navigation control.
|
static int |
TOUCH_SCREEN_DEFAULT |
Indicates that the application does not define the touchscreen requirement, which is the default value.
|
static int |
TOUCH_SCREEN_FINGER |
Indicates that the application requires a touchscreen that can be operated with a fingertip.
|
static int |
TOUCH_SCREEN_NOTOUCH |
Indicates that the application does not require a touchscreen.
|
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
int |
getDeviceGLESVersion() |
Obtains the OpenGL ES version required by the application.
|
int |
getExternalInputDevices() |
Obtains the external input devices required by the application.
|
int |
getKeyBoardType() |
Obtains the type of keyboard required by the application.
|
int |
getNavigationType() |
Obtains the navigation device required by the application.
|
int |
getTouchScreenType() |
Obtains the type of touch required by the application.
|
boolean |
marshalling(Parcel out) |
Marshals this
Sequenceable object into a Parcel. |
boolean |
unmarshalling(Parcel in) |
Unmarshals this
Sequenceable object from a Parcel. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithasFileDescriptorpublic static final int GLES_VERSION_DEFAULT
public static final int INPUT_FLAG_FIVE_WAY_NAV
public static final int INPUT_FLAG_HARD_KEYBOARD
public static final int KEY_BOARD_12KEY
public static final int KEY_BOARD_COMMON
public static final int KEY_BOARD_DEFAULT
public static final int KEY_BOARD_NOKEYS
public static final int NAVIGATION_DEFAULT
public static final int NAVIGATION_DPAD
public static final int NAVIGATION_NONAV
public static final int NAVIGATION_TRACKBALL
public static final int NAVIGATION_WHEEL
public static final int TOUCH_SCREEN_DEFAULT
public static final int TOUCH_SCREEN_FINGER
public static final int TOUCH_SCREEN_NOTOUCH
public int getTouchScreenType()
TOUCH_SCREEN_NOTOUCH,
or TOUCH_SCREEN_FINGER.public int getKeyBoardType()
KEY_BOARD_NOKEYS, KEY_BOARD_COMMON,
or KEY_BOARD_12KEY.public int getNavigationType()
NAVIGATION_NONAV, NAVIGATION_DPAD,
NAVIGATION_TRACKBALL, or NAVIGATION_WHEEL.public int getExternalInputDevices()
0 by default if external input devices are not required; returns the external devices
if any, which can be any combination of INPUT_FLAG_HARD_KEYBOARD and INPUT_FLAG_FIVE_WAY_NAV.public int getDeviceGLESVersion()
public boolean marshalling(Parcel out)
SequenceableSequenceable object into a Parcel.marshalling 在接口中 Sequenceableout - Indicates the Parcel object to which the Sequenceable
object will be marshaled..true if the marshalling is successful; returns false otherwise.public boolean unmarshalling(Parcel in)
SequenceableSequenceable object from a Parcel.unmarshalling 在接口中 Sequenceablein - Indicates the Parcel object into which the Sequenceable
object has been marshaled.true if the unmarshalling is successful; returns false otherwise.