DeviceFoldableState

public class DeviceFoldableState
extends Object implements Comparable<DeviceFoldableState>

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()

パブリック コンストラクタ

DeviceFoldableState

public DeviceFoldableState (long identifier, 
                String name)

パラメータ
identifier long

name String

パブリック メソッド

compareTo

public int compareTo (DeviceFoldableState o)

パラメータ
o DeviceFoldableState

戻り値
int

等しい

public boolean equals (Object obj)

パラメータ
obj Object

戻り値
boolean

getIdentifier

public long getIdentifier ()

戻り値
long

hashCode

public int hashCode ()

戻り値
int

toString

public String toString ()

戻り値
String