Class: SetAutoRotateAction
- Inherits:
-
DeviceSettingsAction
- Object
- MacroObject
- Action
- DeviceSettingsAction
- SetAutoRotateAction
- Defined in:
- lib/ruby-macrodroid.rb
Overview
Category: Device Settings
Instance Attribute Summary
Attributes inherited from MacroObject
Instance Method Summary collapse
-
#initialize(h = {}) ⇒ SetAutoRotateAction
constructor
A new instance of SetAutoRotateAction.
Methods inherited from Action
Methods inherited from MacroObject
Constructor Details
#initialize(h = {}) ⇒ SetAutoRotateAction
Returns a new instance of SetAutoRotateAction.
2099 2100 2101 2102 2103 2104 2105 2106 2107 |
# File 'lib/ruby-macrodroid.rb', line 2099 def initialize(h={}) = { state: 0 } super(.merge h) end |