Class: NotificationTrigger
- Inherits:
-
Trigger
- Object
- MacroObject
- Trigger
- 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
1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 |
# File 'lib/ruby-macrodroid.rb', line 1381 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 |