Module: Appium::Core::Base::Device::Orientation
- Included in:
- Bridge
- Defined in:
- lib/appium_lib_core/common/device/orientation.rb,
sig/lib/appium_lib_core/common/device/orientation.rbs
Instance Method Summary collapse
Instance Method Details
#execute ⇒ Object
6 |
# File 'sig/lib/appium_lib_core/common/device/orientation.rbs', line 6
def execute: (Symbol command, ?Hash[untyped, untyped], ?Hash[untyped, untyped]) -> untyped
|
#screen_orientation ⇒ Object
24 25 26 |
# File 'lib/appium_lib_core/common/device/orientation.rb', line 24 def screen_orientation execute :get_screen_orientation end |
#screen_orientation=(orientation) ⇒ Object
20 21 22 |
# File 'lib/appium_lib_core/common/device/orientation.rb', line 20 def screen_orientation=(orientation) execute :set_screen_orientation, {}, { orientation: orientation } end |