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 Action
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.
3020 3021 3022 3023 3024 3025 3026 3027 3028 |
# File 'lib/ruby-macrodroid.rb', line 3020 def initialize(h={}) = { state: 0 } super(.merge h) end |