Class: SetNotificationSoundAction
- Inherits:
-
NotificationsAction
- Object
- MacroObject
- Action
- NotificationsAction
- SetNotificationSoundAction
- Defined in:
- lib/ruby-macrodroid.rb,
lib/ruby-macrodroid.rb,
lib/ruby-macrodroid.rb
Overview
Category: Notifications
Instance Attribute Summary
Attributes inherited from Action
Attributes inherited from MacroObject
Instance Method Summary collapse
-
#initialize(h = {}) ⇒ SetNotificationSoundAction
constructor
A new instance of SetNotificationSoundAction.
- #to_s(colour: false) ⇒ Object (also: #to_summary)
Methods inherited from Action
Methods inherited from MacroObject
Constructor Details
#initialize(h = {}) ⇒ SetNotificationSoundAction
Returns a new instance of SetNotificationSoundAction.
4167 4168 4169 4170 4171 4172 4173 4174 4175 |
# File 'lib/ruby-macrodroid.rb', line 4167 def initialize(h={}) = { ringtone_uri: 'content://media/internal/audio/media/27' } super(.merge h) end |
Instance Method Details
#to_s(colour: false) ⇒ Object Also known as: to_summary
4177 4178 4179 |
# File 'lib/ruby-macrodroid.rb', line 4177 def to_s(colour: false) 'SetNotificationSoundAction ' + @h.inspect end |