Class: SetAutoRotateAction

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

Overview

Category: Device Settings

Instance Attribute Summary

Attributes inherited from Action

#constraints

Attributes inherited from MacroObject

#options, #type

Instance Method Summary collapse

Methods inherited from Action

#invoke

Methods inherited from MacroObject

#to_h, #to_s

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={})

  options = {
    state: 0
  }

  super(options.merge h)

end