設備可折疊狀態
public class DeviceFoldableState
extends Object
java.lang.Object | |
↳ | com.android.tradefed.device.DeviceFoldableState |
“cmd device_state print-states”傳回的裝置可折疊狀態的表示。
概括
公共構造函數 | |
---|---|
DeviceFoldableState (long identifier, String name) |
公共方法 | |
---|---|
int | compareTo ( DeviceFoldableState o) |
boolean | equals (Object obj) |
long | getIdentifier () |
int | hashCode () |
String | toString () |
公共構造函數
設備可折疊狀態
public DeviceFoldableState (long identifier, String name)
參數 | |
---|---|
identifier | long |
name | String |
公共方法
等於
public boolean equals (Object obj)
參數 | |
---|---|
obj | Object |
退貨 | |
---|---|
boolean |
取得標識符
public long getIdentifier ()
退貨 | |
---|---|
long |
哈希碼
public int hashCode ()
退貨 | |
---|---|
int |
到字串
public String toString ()
退貨 | |
---|---|
String |