Class: VolumeButtonTrigger

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

Instance Method Summary collapse

Methods inherited from MacroObject

#to_h

Constructor Details

#initialize(h = {}) ⇒ VolumeButtonTrigger

Returns a new instance of VolumeButtonTrigger.



1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
# File 'lib/ruby-macrodroid.rb', line 1308

def initialize(h={})

  options = {
    dont_change_volume: true,
    monitor_option: 1,
    not_configured: false,
    option: 0
  }

  super(options.merge h)

end