com.android.sdklib.devices
Class State
java.lang.Object
com.android.sdklib.devices.State
public class State
- extends java.lang.Object
Constructor Summary |
State()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
State
public State()
isDefaultState
public boolean isDefaultState()
setDefaultState
public void setDefaultState(boolean defaultState)
getName
@NonNull
public java.lang.String getName()
setName
public void setName(@NonNull
java.lang.String name)
getDescription
public java.lang.String getDescription()
setDescription
public void setDescription(java.lang.String description)
getOrientation
public com.android.resources.ScreenOrientation getOrientation()
setOrientation
public void setOrientation(com.android.resources.ScreenOrientation orientation)
getKeyState
public com.android.resources.KeyboardState getKeyState()
setKeyState
public void setKeyState(com.android.resources.KeyboardState keyState)
getNavState
public com.android.resources.NavigationState getNavState()
setNavState
public void setNavState(com.android.resources.NavigationState navState)
getHardware
@NonNull
public Hardware getHardware()
setHardware
public void setHardware(@NonNull
Hardware hw)
deepCopy
public State deepCopy()
- Returns a copy of the object that shares no state with it,
but is initialized to equivalent values.
- Returns:
- A copy of the object.
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object