Class: ScreenOnOffTrigger

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

Instance Method Summary collapse

Methods inherited from MacroObject

#to_h

Constructor Details

#initialize(h = {}) ⇒ ScreenOnOffTrigger

Returns a new instance of ScreenOnOffTrigger.



1112
1113
1114
1115
1116
1117
1118
1119
1120
# File 'lib/ruby-macrodroid.rb', line 1112

def initialize(h={})

  options = {
    screen_on: true
  }

  super(options.merge h)

end