Class: WifiConnectionTrigger

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

Instance Method Summary collapse

Methods inherited from MacroObject

#to_h

Constructor Details

#initialize(h = {}) ⇒ WifiConnectionTrigger

Returns a new instance of WifiConnectionTrigger.



461
462
463
464
465
466
467
468
469
470
# File 'lib/ruby-macrodroid.rb', line 461

def initialize(h={})

  options = {
    ssid_list: [""],
    wifi_state: 2
  }

  super(options.merge h)

end