Skip to content

com.oscleton.sdk / OscletonSDK / disconnect

disconnect

fun disconnect():Unit

Disconnect the device and close the incoming changes listener.

Since OscletonSDK is lifecycle-aware, this method is automatically called when the app goes to background.

NB: Calling this method before initialize() will throw an OscletonSDKException.

Since 0.1