Class: NotificationAction
- Inherits:
-
NotificationsAction
- Object
- MacroObject
- Action
- NotificationsAction
- NotificationAction
- Defined in:
- lib/ruby-macrodroid.rb
Overview
Category: Notifications
Instance Attribute Summary
Attributes inherited from MacroObject
Instance Method Summary collapse
-
#initialize(h = {}) ⇒ NotificationAction
constructor
A new instance of NotificationAction.
Methods inherited from Action
Methods inherited from MacroObject
Constructor Details
#initialize(h = {}) ⇒ NotificationAction
Returns a new instance of NotificationAction.
2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 |
# File 'lib/ruby-macrodroid.rb', line 2617 def initialize(h={}) = { ringtone_name: 'Default', notification_text: '', notification_subject: '', macro_guid_to_run: 0, notification_channel_type: 0, image_resource_id: 0, overwrite_existing: false, priority: 0, ringtone_index: 0, icon_bg_color: -1762269, run_macro_when_pressed: false } super(.merge h) end |