disconnect

@RequiresApi(value = 29)
fun disconnect()

Disconnects from an unprovisioned or a newly provisioned device.

Throws

if the wifi is not enabled.

if the device failed to bind to the connected wifi network. Call connect to connect to the softap and bind to the network.