Class: NotificationPresentConstraint
- Inherits:
-
Constraint
- Object
- MacroObject
- Constraint
- NotificationPresentConstraint
- Defined in:
- lib/ruby-macrodroid.rb
Overview
Category: Notification
Instance Attribute Summary
Attributes inherited from MacroObject
Instance Method Summary collapse
-
#initialize(h = {}) ⇒ NotificationPresentConstraint
constructor
A new instance of NotificationPresentConstraint.
Methods inherited from Constraint
Methods inherited from MacroObject
Constructor Details
#initialize(h = {}) ⇒ NotificationPresentConstraint
Returns a new instance of NotificationPresentConstraint.
4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 |
# File 'lib/ruby-macrodroid.rb', line 4659 def initialize(h={}) = { enable_regex: false, application_name_list: ["All applications"], exact_match: false, excludes: false, excludes_apps: -1, option: 0, package_name_list: ["allApplications"], text_content: '' } super(.merge h) end |