docs » WifiNotifier

Receive notifications every time your wifi network changes.

Download: https://github.com/Hammerspoon/Spoons/raw/master/Spoons/WifiNotifier.spoon.zip

API Overview

API Documentation

Methods

init
Signature WifiNotifier:init()
Type Method
Description

Initialize the WifiNotifier spoon

Returns:

  • The WifiNotifier object
ssidChangedCallback
Signature WifiNotifier:ssidChangedCallback()
Type Method
Description

Fires whenever the wifiWatcher detects an SSID change.

Returns:

  • The WifiNotifier object
start
Signature WifiNotifier:start()
Type Method
Description

Starts the wifiNotifier

Returns:

  • The WifiNotifier object