Class: BluetoothTrigger

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

Instance Method Summary collapse

Methods inherited from MacroObject

#to_h

Constructor Details

#initialize(h = {}) ⇒ BluetoothTrigger

Returns a new instance of BluetoothTrigger.



708
709
710
711
712
713
714
715
716
717
718
# File 'lib/ruby-macrodroid.rb', line 708

def initialize(h={})

  options = {
    device_name: 'Any Device',
    bt_state: 0,
    any_device: false
  }

  super(options.merge h)

end