disconnect


Description:

public void disconnect (DeviceCallbackFn? callback)

Disconnects the device if currently connected, and prevents the device from automatically connecting to networks until the next manual network connection request.

Parameters:

this

a Device

callback

callback to be called when disconnect operation completes

user_data

caller-specific data passed to callback