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.
2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 |
# File 'lib/ruby-macrodroid.rb', line 2701 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 |