Class: SetNotificationSoundAction

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

Instance Method Summary collapse

Methods inherited from MacroObject

#to_h

Constructor Details

#initialize(h = {}) ⇒ SetNotificationSoundAction

Returns a new instance of SetNotificationSoundAction.



2159
2160
2161
2162
2163
2164
2165
2166
2167
# File 'lib/ruby-macrodroid.rb', line 2159

def initialize(h={})

  options = {
    ringtone_uri: 'content://media/internal/audio/media/27'
  }

  super(options.merge h)

end