Class: TriggerThatInvokedConstraint

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

Overview

Category: MacroDroid Specific

Instance Attribute Summary

Attributes inherited from MacroObject

#options, #type

Instance Method Summary collapse

Methods inherited from Constraint

#match?

Methods inherited from MacroObject

#to_h

Constructor Details

#initialize(h = {}) ⇒ TriggerThatInvokedConstraint

Returns a new instance of TriggerThatInvokedConstraint.



3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
# File 'lib/ruby-macrodroid.rb', line 3663

def initialize(h={})

  options = {
    not: false,
    si_guid_that_invoked: -4951291100076165433,
    trigger_name: 'Shake Device'
  }

  super(options.merge h)

end