public static enum AndroidClickEvent.AndroidCommondKey extends Enum<AndroidClickEvent.AndroidCommondKey>
文件名:AndroidClickEvent.java
用途: 枚举安卓手机常用的物理按键
编码时间:2021年4月24日下午6:27:57
修改时间:2021年4月24日下午6:27:57
Enum Constant and Description |
---|
BACK
返回键
|
BRIGHTNESS_DOWN
降低亮度键
|
BRIGHTNESS_UP
增加亮度键
|
HOME
home键(桌面键)
|
MENU
任务键
|
POWER
电源键
|
VOLUME_DOWN
音量下键
|
VOLUME_MUTE
静音键
|
VOLUME_UP
音量上键
|
Modifier and Type | Method and Description |
---|---|
io.appium.java_client.android.nativekey.AndroidKey |
getKey()
返回枚举与
AndroidKey 枚举的映射 |
static AndroidClickEvent.AndroidCommondKey |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AndroidClickEvent.AndroidCommondKey[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AndroidClickEvent.AndroidCommondKey HOME
public static final AndroidClickEvent.AndroidCommondKey MENU
public static final AndroidClickEvent.AndroidCommondKey BACK
public static final AndroidClickEvent.AndroidCommondKey POWER
public static final AndroidClickEvent.AndroidCommondKey VOLUME_UP
public static final AndroidClickEvent.AndroidCommondKey VOLUME_DOWN
public static final AndroidClickEvent.AndroidCommondKey VOLUME_MUTE
public static final AndroidClickEvent.AndroidCommondKey BRIGHTNESS_UP
public static final AndroidClickEvent.AndroidCommondKey BRIGHTNESS_DOWN
public static AndroidClickEvent.AndroidCommondKey[] values()
for (AndroidClickEvent.AndroidCommondKey c : AndroidClickEvent.AndroidCommondKey.values()) System.out.println(c);
public static AndroidClickEvent.AndroidCommondKey valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic io.appium.java_client.android.nativekey.AndroidKey getKey()
AndroidKey
枚举的映射AndroidKey
枚举Copyright © 2024. All rights reserved.