Class: BluetoothConstraint
- Inherits:
-
Constraint
- Object
- MacroObject
- Constraint
- BluetoothConstraint
- Defined in:
- lib/ruby-macrodroid.rb
Overview
Category: Connectivity
Instance Attribute Summary
Attributes inherited from MacroObject
Instance Method Summary collapse
-
#initialize(h = {}) ⇒ BluetoothConstraint
constructor
A new instance of BluetoothConstraint.
Methods inherited from Constraint
Methods inherited from MacroObject
Constructor Details
#initialize(h = {}) ⇒ BluetoothConstraint
3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 |
# File 'lib/ruby-macrodroid.rb', line 3201 def initialize(h={}) = { any_device: false, bt_state: 0, device_name: 'Any Device' } super(.merge h) end |