Class: SetNotificationSoundAction

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

Overview

Category: Notifications

Instance Attribute Summary

Attributes inherited from MacroObject

#options, #type

Instance Method Summary collapse

Methods inherited from Action

#invoke

Methods inherited from MacroObject

#to_h, #to_s

Constructor Details

#initialize(h = {}) ⇒ SetNotificationSoundAction

Returns a new instance of SetNotificationSoundAction.



3347
3348
3349
3350
3351
3352
3353
3354
3355
# File 'lib/ruby-macrodroid.rb', line 3347

def initialize(h={})

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

  super(options.merge h)

end