Package-level declarations
Types
Marks API that is experimental and/or likely to change.
All Filters are supported on all platforms, except for Filter.Address, which is only supported on Android.
Filtering on Service Data is not supported because it is not implemented: https://github.com/WebBluetoothCG/web-bluetooth/blob/main/implementation-status.md
Thrown on Android when underlying android.bluetooth.BluetoothDevice
method call returns false
. This can occur under the following conditions:
Represents an Android GATT status failure.
Thrown when underlying BluetoothGatt write operation call fails.
An Error that signifies that an unexpected condition or state was encountered in the Kable internals.
Marks declarations that are obsolete in Kable API, which means that the design of the corresponding declarations has known flaws/drawbacks and they will be redesigned or replaced in the future.
A ThreadingStrategy that creates "threads" when acquired and immediately shuts down when released.
Represents a remote Bluetooth Low Energy peripheral. Should be disposed (via close) when no longer needed.
A ThreadingStrategy that pools unused "threads" until evictAfter time has elapsed.
Properties
Functions
Obtains a nearby Peripheral via device picker. Returns null
if dialog is cancelled (e.g. user dismissed dialog by clicking outside of dialog or clicking cancel button).