public static interface InputManager.OnTabletModeChangedListener
Modifier and Type | Method and Description |
---|---|
void |
onTabletModeChanged(long whenNanos,
boolean inTabletMode)
Called whenever the device goes into or comes out of tablet mode.
|
void onTabletModeChanged(long whenNanos, boolean inTabletMode)
whenNanos
- The time at which the device transitioned into or
out of tablet mode. This is given in nanoseconds in the
SystemClock.uptimeMillis()
time base.