Class: ShakeDeviceTrigger

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

Overview

Category: Sensors

Instance Attribute Summary

Attributes inherited from MacroObject

#options, #type

Instance Method Summary collapse

Methods inherited from Trigger

#match?

Methods inherited from MacroObject

#to_h

Constructor Details

#initialize(h = {}) ⇒ ShakeDeviceTrigger

Returns a new instance of ShakeDeviceTrigger.



1706
1707
1708
1709
1710
1711
1712
1713
# File 'lib/ruby-macrodroid.rb', line 1706

def initialize(h={})

  options = {
  }

  super(options.merge h)

end

Instance Method Details

#to_pc ⇒ Object



1715
1716
1717
# File 'lib/ruby-macrodroid.rb', line 1715

def to_pc()
  'shake_device?'
end

#to_s ⇒ Object



1719
1720
1721
# File 'lib/ruby-macrodroid.rb', line 1719

def to_s()
  'Shake Device'
end