Skip to content

com.oscleton.sdk / OscletonSDK / connect

connect

fun connect():Unit

Connect the device and prepare to listen for incoming changes.

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

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

Since 0.1