Class: IntentReceivedTrigger

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

Overview

Category: Device Events

Instance Attribute Summary

Attributes inherited from MacroObject

#options, #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.



1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
# File 'lib/ruby-macrodroid.rb', line 1903

def initialize(h={})

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

  super(options.merge h)

end