Class: SetAutoRotateAction

Inherits:
DeviceSettingsAction show all
Defined in:
lib/ruby-macrodroid.rb

Overview

Category: Device Settings

Instance Attribute Summary

Attributes inherited from MacroObject

#options, #type

Instance Method Summary collapse

Methods inherited from Action

#invoke

Methods inherited from MacroObject

#to_h

Constructor Details

#initialize(h = {}) ⇒ SetAutoRotateAction

Returns a new instance of SetAutoRotateAction.



2183
2184
2185
2186
2187
2188
2189
2190
2191
# File 'lib/ruby-macrodroid.rb', line 2183

def initialize(h={})

  options = {
    state: 0
  }

  super(options.merge h)

end