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
Returns a new instance of NotificationTrigger.
1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 |
# File 'lib/ruby-macrodroid.rb', line 1923 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 |