DeviceFoldableState
public
class
DeviceFoldableState
extends Object
java.lang.Object | |
↳ | com.android.tradefed.device.DeviceFoldableState |
Biểu thị trạng thái thiết bị có thể gập lại do "cmd device_state print-states" trả về.
Tóm tắt
Hàm khởi tạo công khai | |
---|---|
DeviceFoldableState(long identifier, String name)
|
Phương thức công khai | |
---|---|
int
|
compareTo(DeviceFoldableState o)
|
boolean
|
equals(Object obj)
|
long
|
getIdentifier()
|
int
|
hashCode()
|
String
|
toString()
|
Hàm khởi tạo công khai
DeviceFoldableState
public DeviceFoldableState (long identifier, String name)
Tham số | |
---|---|
identifier |
long |
name |
String |
Phương thức công khai
compareTo
public int compareTo (DeviceFoldableState o)
Tham số | |
---|---|
o |
DeviceFoldableState |
Giá trị trả về | |
---|---|
int |
bằng
public boolean equals (Object obj)
Tham số | |
---|---|
obj |
Object |
Giá trị trả về | |
---|---|
boolean |
getIdentifier
public long getIdentifier ()
Giá trị trả về | |
---|---|
long |
hashCode
public int hashCode ()
Giá trị trả về | |
---|---|
int |
toString
public String toString ()
Giá trị trả về | |
---|---|
String |