disconnect

@CheckReturnValue
abstract override fun disconnect(): Completable

Disconnects from a remote device (or cancels the connection attempt started using connect, if the SDK is still trying to connect to a remote device.

Scheduler: The returned Completable will operate on the IO Scheduler.

Return

a Completable which completes once the connection to the remote device has successfully been closed.

See also