Class: ShakeDeviceTrigger
- Inherits:
-
SensorsTrigger
- Object
- MacroObject
- Trigger
- SensorsTrigger
- ShakeDeviceTrigger
- Defined in:
- lib/ruby-macrodroid.rb
Overview
Category: Sensors
Instance Attribute Summary
Attributes inherited from Trigger
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.
2222 2223 2224 2225 2226 2227 2228 2229 |
# File 'lib/ruby-macrodroid.rb', line 2222 def initialize(h={}) = { } super(.merge h) end |
Instance Method Details
#to_pc ⇒ Object
2231 2232 2233 |
# File 'lib/ruby-macrodroid.rb', line 2231 def to_pc() 'shake_device?' end |
#to_s ⇒ Object
2235 2236 2237 |
# File 'lib/ruby-macrodroid.rb', line 2235 def to_s() 'Shake Device' end |