Class: MusicPlayingTrigger

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

Overview

Category: Device Events

Instance Attribute Summary

Attributes inherited from MacroObject

#options, #type

Instance Method Summary collapse

Methods inherited from Trigger

#match?

Methods inherited from MacroObject

#to_h

Constructor Details

#initialize(h = {}) ⇒ MusicPlayingTrigger

Returns a new instance of MusicPlayingTrigger.



1197
1198
1199
1200
1201
1202
1203
1204
1205
# File 'lib/ruby-macrodroid.rb', line 1197

def initialize(h={})

  options = {
    option: 0
  }

  super(options.merge h)

end