Class: NotificationTrigger
- Inherits:
-
DeviceEventsTrigger
- Object
- MacroObject
- Trigger
- DeviceEventsTrigger
- NotificationTrigger
- Defined in:
- lib/ruby-macrodroid.rb
Overview
Category: Device Events
Instance Attribute Summary
Attributes inherited from MacroObject
Instance Method Summary collapse
-
#initialize(h = {}) ⇒ NotificationTrigger
constructor
A new instance of NotificationTrigger.
Methods inherited from Trigger
Methods inherited from MacroObject
Constructor Details
#initialize(h = {}) ⇒ NotificationTrigger
1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 |
# File 'lib/ruby-macrodroid.rb', line 1801 def initialize(h={}) = { text_content: '', package_name_list: ["Any Application"], application_name_list: ["Any Application"], exclude_apps: false, ignore_ongoing: true, option: 0, exact_match: false, excludes: false, sound_option: 0, supress_multiples: true, enable_regex: false } super(.merge h) end |