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 Action

#constraints

Attributes inherited from MacroObject

#options, #siguid, #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.



3630
3631
3632
3633
3634
3635
3636
3637
3638
# File 'lib/ruby-macrodroid.rb', line 3630

def initialize(h={})

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

  super(options.merge h)

end