设备可折叠状态

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 int compareTo (DeviceFoldableState o)

参数
o DeviceFoldableState

退货
int

等于

public boolean equals (Object obj)

参数
obj Object

退货
boolean

获取标识符

public long getIdentifier ()

退货
long

哈希码

public int hashCode ()

退货
int

到字符串

public String toString ()

退货
String