public interface Rotatable
| 限定符和类型 | 方法和说明 |
|---|---|
ScreenOrientation |
getOrientation() |
void |
rotate(DeviceRotation rotation)
Changes the rotation of the browser window.
|
void |
rotate(ScreenOrientation orientation)
Changes the orientation of the browser window.
|
DeviceRotation |
rotation() |
void rotate(ScreenOrientation orientation)
orientation - the desired screen orientationScreenOrientation getOrientation()
void rotate(DeviceRotation rotation)
rotation - DeviceRotation rotation()