hs.wifi.watcher.eventTypes[]
hs.wifi.watcher.new(fn) -> watcher
hs.wifi.watcher
objecths.wifi.watcher:start() -> watcher
hs.wifi.watcher
objecths.wifi.watcher:stop() -> watcher
hs.wifi.watcher
objecths.wifi.watcher:watchingFor([messages]) -> watcher | current-value
| | -----------------------------------------------------|---------------------------------------------------------------------------------------------------------| | Type | Method | | Description | Get or set the specific types of wifi events to generate a callback for with this watcher. | | Parameters |messages
- an optional table of or list of strings specifying the types of events this watcher should invoke a callback for. You can specify multiple types of events to watch for. Defaults to { "SSIDChange" }
.