Class: BluetoothTrigger
- Inherits:
-
Trigger
- Object
- MacroObject
- Trigger
- BluetoothTrigger
- Defined in:
- lib/ruby-macrodroid.rb
Overview
Category: Connectivity
Instance Attribute Summary
Attributes inherited from Trigger
Attributes inherited from MacroObject
Instance Method Summary collapse
-
#initialize(h = {}) ⇒ BluetoothTrigger
constructor
A new instance of BluetoothTrigger.
Methods inherited from Trigger
Methods inherited from MacroObject
Constructor Details
#initialize(h = {}) ⇒ BluetoothTrigger
Returns a new instance of BluetoothTrigger.
1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 |
# File 'lib/ruby-macrodroid.rb', line 1545 def initialize(h={}) = { device_name: 'Any Device', bt_state: 0, any_device: false } super(.merge h) end |