hammerspoon2-docs
    Preparing search index...

    Type Alias HSBluetoothEvent

    HSBluetoothEvent: "connected" | "disconnected" | "powerChanged" | "discovered"

    An event name for hs.bluetooth.on(), hs.bluetooth.off() and hs.bluetooth.once()

    • "connected": macOS connected a Bluetooth device
    • "disconnected": macOS disconnected a Bluetooth device
    • "powerChanged": Bluetooth was turned on or off
    • "discovered": hs.bluetooth.scan() found a peripheral