Class: MediaButtonPressedTrigger

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

Instance Method Summary collapse

Methods inherited from MacroObject

#to_h

Constructor Details

#initialize(h = {}) ⇒ MediaButtonPressedTrigger

Returns a new instance of MediaButtonPressedTrigger.



1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
# File 'lib/ruby-macrodroid.rb', line 1325

def initialize(h={})

  options = {
    option: 'Single Press',
    cancel_press: false
  }

  super(options.merge h)

end