Class: WifiConnectionTrigger
- Inherits:
-
Trigger
- Object
- MacroObject
- Trigger
- WifiConnectionTrigger
- Defined in:
- lib/ruby-macrodroid.rb,
lib/ruby-macrodroid.rb
Overview
Category: Connectivity
Instance Attribute Summary
Attributes inherited from Trigger
Attributes inherited from MacroObject
Instance Method Summary collapse
-
#initialize(h = {}) ⇒ WifiConnectionTrigger
constructor
A new instance of WifiConnectionTrigger.
Methods inherited from Trigger
Methods inherited from MacroObject
Constructor Details
#initialize(h = {}) ⇒ WifiConnectionTrigger
Returns a new instance of WifiConnectionTrigger.
1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 |
# File 'lib/ruby-macrodroid.rb', line 1196 def initialize(h={}) = { ssid_list: [""], wifi_state: 2 } super(.merge h) end |