Class: DimScreenAction

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

Instance Method Summary collapse

Methods inherited from MacroObject

#to_h

Constructor Details

#initialize(h = {}) ⇒ DimScreenAction

Returns a new instance of DimScreenAction.



2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
# File 'lib/ruby-macrodroid.rb', line 2195

def initialize(h={})

  options = {
    percent: 50,
    dim_screen_on: true
  }

  super(options.merge h)

end