Class: PlaySoundAction

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

Instance Method Summary collapse

Methods inherited from MacroObject

#to_h

Constructor Details

#initialize(h = {}) ⇒ PlaySoundAction

Returns a new instance of PlaySoundAction.



2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
# File 'lib/ruby-macrodroid.rb', line 2027

def initialize(h={})

  options = {
    selected_index: 0,
    file_path: ''
  }

  super(options.merge h)

end