Class: WifiConnectionTrigger

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

Overview

Category: Connectivity

Instance Attribute Summary

Attributes inherited from MacroObject

#options, #type

Instance Method Summary collapse

Methods inherited from Trigger

#match?

Methods inherited from MacroObject

#to_h, #to_s

Constructor Details

#initialize(h = {}) ⇒ WifiConnectionTrigger

Returns a new instance of WifiConnectionTrigger.



1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
# File 'lib/ruby-macrodroid.rb', line 1013

def initialize(h={})

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

  super(options.merge h)

end