DeviceFoldableState

public class DeviceFoldableState
extends Object

java.lang.Object
   ↳ com.android.tradefed.device.DeviceFoldableState


Representation of device foldable state as returned by "cmd device_state print-states".

Summary

Public constructors

DeviceFoldableState(long identifier, String name)

Public methods

int compareTo(DeviceFoldableState o)
boolean equals(Object obj)
long getIdentifier()
int hashCode()
String toString()

Public constructors

DeviceFoldableState

public DeviceFoldableState (long identifier, 
                String name)

Parameters
identifier long

name String

Public methods

compareTo

public int compareTo (DeviceFoldableState o)

Parameters
o DeviceFoldableState

Returns
int

equals

public boolean equals (Object obj)

Parameters
obj Object

Returns
boolean

getIdentifier

public long getIdentifier ()

Returns
long

hashCode

public int hashCode ()

Returns
int

toString

public String toString ()

Returns
String