disconnect

disconnect(callbackFunc);

Parameters

callbackFunc: callback functions for disconnect status

Returns in callback function

{
    status: true                // disconnection status
}

or

{
    status: false                // disconnection status

Last updated