Class: IntentReceivedTrigger

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

Instance Method Summary collapse

Methods inherited from MacroObject

#to_h

Constructor Details

#initialize(h = {}) ⇒ IntentReceivedTrigger

Returns a new instance of IntentReceivedTrigger.



1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
# File 'lib/ruby-macrodroid.rb', line 1070

def initialize(h={})

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

  super(options.merge h)

end