TestDeviceState
public final enum TestDeviceState
extends Enum< TestDeviceState >
java.lang.Object | ||
↳ | java.lang.Enum < com.android.tradefed.device.TestDeviceState > | |
↳ | com.android.tradefed.device.TestDeviceState |
Trình bày trạng thái thiết bị đầy đủ tính năng hơn DeviceState
.
DeviceState
để chỉ thêm trạng thái FASTBOOT và NOT_AVAILABLE, nhưng không cho phép mở rộng enums.Tóm lược
Giá trị enum | |
---|---|
TestDeviceState | FASTBOOT |
TestDeviceState | NOT_AVAILABLE |
TestDeviceState | ONLINE |
TestDeviceState | RECOVERY
|
Phương pháp công khai | |
---|---|
static TestDeviceState | valueOf (String name) |
static final TestDeviceState[] | values () |
Giá trị enum
NHANH TAY
public static final TestDeviceState FASTBOOT
KHÔNG CÓ SẴN
public static final TestDeviceState NOT_AVAILABLE
TRỰC TUYẾN
public static final TestDeviceState ONLINE
HỒI PHỤC
public static final TestDeviceState RECOVERY
Phương pháp công khai
giá trị của
public static TestDeviceState valueOf (String name)
Thông số | |
---|---|
name | String |
Lợi nhuận | |
---|---|
TestDeviceState |
Content and code samples on this page are subject to the licenses described in the Content License. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2019-10-02 UTC.