Closable

expect interface Closable

A platform-neutral close contract for BLE components that own resources.

Inheritors

actual interface Closable : Closeable

JVM actual that keeps BLE closables compatible with Java closeable APIs.

Functions

close
Link copied to clipboard
expect abstract fun close()

Closes the receiver and releases its resources.

abstract fun close()