//MLBluetoothSDK/com.masterlock.mlbluetoothsdk/MLProduct/setAutoDisconnect
setAutoDisconnect¶
[androidJvm]\ open fun setAutoDisconnect(autoDisconnect: Boolean)
Determines behavior of an MLProduct session when public and private command queues are empty: If true, an MLProduct’s session will disconnect as soon as the command queues are empty; If false - The MLBluetoothSDK will continue to call the keepAlive callback for * If false - The MLBluetoothSDK will continue to call the keepAlive callback for value of keepAliveIntervalSeconds, or longer if additional commands are enqueued