Class: IntentReceivedTrigger

Inherits:
DeviceEventsTrigger show all
Defined in:
lib/ruby-macrodroid.rb

Overview

Category: Device Events

Instance Attribute Summary

Attributes inherited from Trigger

#constraints

Attributes inherited from MacroObject

#options, #siguid, #type

Instance Method Summary collapse

Methods inherited from Trigger

#match?

Methods inherited from MacroObject

#to_h, #to_s

Constructor Details

#initialize(h = {}) ⇒ IntentReceivedTrigger

Returns a new instance of IntentReceivedTrigger.



2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
# File 'lib/ruby-macrodroid.rb', line 2057

def initialize(h={})

  options = {
    action: '',
    extra_params: [],
    extra_value_patterns: [],
    extra_variables: [],
    enable_regex: false
  }

  super(options.merge h)

end