Class: ShakeDeviceTrigger
- Inherits:
-
SensorsTrigger
- Object
- MacroObject
- Trigger
- SensorsTrigger
- ShakeDeviceTrigger
- Defined in:
- lib/ruby-macrodroid.rb
Overview
Category: Sensors
Instance Attribute Summary
Attributes inherited from MacroObject
Instance Method Summary collapse
-
#initialize(h = {}) ⇒ ShakeDeviceTrigger
constructor
A new instance of ShakeDeviceTrigger.
- #to_pc ⇒ Object
- #to_s ⇒ Object
Methods inherited from Trigger
Methods inherited from MacroObject
Constructor Details
#initialize(h = {}) ⇒ ShakeDeviceTrigger
Returns a new instance of ShakeDeviceTrigger.
2152 2153 2154 2155 2156 2157 2158 2159 |
# File 'lib/ruby-macrodroid.rb', line 2152 def initialize(h={}) = { } super(.merge h) end |
Instance Method Details
#to_pc ⇒ Object
2161 2162 2163 |
# File 'lib/ruby-macrodroid.rb', line 2161 def to_pc() 'shake_device?' end |
#to_s ⇒ Object
2165 2166 2167 |
# File 'lib/ruby-macrodroid.rb', line 2165 def to_s() 'Shake Device' end |