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.
3109 3110 3111 3112 3113 3114 3115 3116 3117 |
# File 'lib/ruby-macrodroid.rb', line 3109 def initialize(h={}) = { state: 0 } super(.merge h) end |