Package io.appium.java_client.remote
Interface SupportsRotation
-
- All Superinterfaces:
ExecutesMethod,org.openqa.selenium.Rotatable,org.openqa.selenium.SearchContext,org.openqa.selenium.WebDriver
- All Known Implementing Classes:
AndroidDriver,IOSDriver
public interface SupportsRotation extends org.openqa.selenium.WebDriver, ExecutesMethod, org.openqa.selenium.Rotatable
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default org.openqa.selenium.ScreenOrientationgetOrientation()Get device orientation.default voidrotate(org.openqa.selenium.DeviceRotation rotation)default voidrotate(org.openqa.selenium.ScreenOrientation orientation)default org.openqa.selenium.DeviceRotationrotation()Get device rotation.-
Methods inherited from interface io.appium.java_client.ExecutesMethod
execute, execute
-
-
-
-
Method Detail
-
rotation
default org.openqa.selenium.DeviceRotation rotation()
Get device rotation.- Specified by:
rotationin interfaceorg.openqa.selenium.Rotatable- Returns:
- The rotation value.
-
rotate
default void rotate(org.openqa.selenium.DeviceRotation rotation)
- Specified by:
rotatein interfaceorg.openqa.selenium.Rotatable
-
rotate
default void rotate(org.openqa.selenium.ScreenOrientation orientation)
- Specified by:
rotatein interfaceorg.openqa.selenium.Rotatable
-
getOrientation
default org.openqa.selenium.ScreenOrientation getOrientation()
Get device orientation.- Specified by:
getOrientationin interfaceorg.openqa.selenium.Rotatable- Returns:
- The orientation value.
-
-