Class: MessageDialogAction
- Inherits:
-
NotificationsAction
- Object
- MacroObject
- Action
- NotificationsAction
- MessageDialogAction
- Defined in:
- lib/ruby-macrodroid.rb
Overview
Category: Notifications
Instance Attribute Summary
Attributes inherited from Action
Attributes inherited from MacroObject
Instance Method Summary collapse
-
#initialize(h = {}) ⇒ MessageDialogAction
constructor
A new instance of MessageDialogAction.
Methods inherited from Action
Methods inherited from MacroObject
Constructor Details
#initialize(h = {}) ⇒ MessageDialogAction
Returns a new instance of MessageDialogAction.
3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 |
# File 'lib/ruby-macrodroid.rb', line 3587 def initialize(h={}) = { secondary_class_type: 'MessageDialogAction', 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 |