Package-level declarations
Types
Builder class for creating a BluetoothClient object.
A service for managing Bluetooth ConnectableDevice
A default implementation of BaseBluetoothClientBuilder
A default implementation of BaseBluetoothClientBuilder
A default implementation of BaseBluetoothClientBuilder
A default implementation of BaseBluetoothClientBuilder
A default implementation of BaseBluetoothClientBuilder
The previous name of BluetoothClient
The default implementation of BluetoothClient. It uses a ScanningStateFlowRepo to manage the ScanningState
Default implementation of RemoteCharacteristicWrapper
Default implementation of RemoteCharacteristicWrapper
Default implementation of RemoteDescriptorWrapper
Default implementation of RemoteDescriptorWrapper
Default implementation of RemoteServiceWrapper
Default implementation of RemoteCharacteristicWrapper
Default implementation of RemoteDescriptorWrapper
Default implementation of RemoteServiceWrapper
Default implementation of RemoteServiceWrapper
An Attribute for the Client side of a Bluetooth Low Energy connection.
A Characteristic that is accessed remotely by a bluetooth client using BluetoothClient
Accessor to a BluetoothGattCharacteristic
Accessor to a CBCharacteristic
Accessor to the platform level Bluetooth characteristic
Accessor to a CBCharacteristic
Accessor to a Web Bluetooth BluetoothRemoteGATTCharacteristic. A structural snapshot built during service discovery; the actual read/write/notify go through the connection manager + per-target interop.
A Descriptor that is accessed remotely by a bluetooth client using BluetoothClient
Accessor to a BluetoothGattDescriptor
Accessor to a CBDescriptor
Accessor to the platform level Bluetooth Descriptor
Accessor to a CBDescriptor
Accessor to a Web Bluetooth BluetoothRemoteGATTDescriptor. A structural snapshot built during service discovery.
A Service that is accessed remotely by a bluetooth client using BluetoothClient
Accessor to a BluetoothGattService
Accessor to a CBService
Accessor to the platform level Bluetooth service
Accessor to a CBService
Accessor to a Web Bluetooth BluetoothRemoteGATTService. A structural snapshot built during the (async) service discovery in the connection manager.
Functions
Gets the (Flow of) BaseAdvertisementData from a Flow of ConnectableDevice
Gets a (Flow of) the list RemoteCharacteristic associated with the RemoteService in a Flow
Attempts to connect to the ConnectableDevice from a Flow of ConnectableDevice When this method completes, the devices should be in a ConnectableDeviceState.Connected state
Gets a (Flow of) the list RemoteDescriptor associated with the RemoteCharacteristic in a Flow
Attempts to disconnect to the ConnectableDevice from a Flow of ConnectableDevice When this method completes, the devices should be in a ConnectableDeviceState.Disconnected state
Gets a (Flow of) the list of Service associated with the ConnectableDevice This will automatically discover services if the device is in a ConnectableDeviceState.Connected.NoServices state. This differs from services in that the resulting flow will only emit once services are discovered.
Gets a (Flow of) the list of Service associated with the ConnectableDevice in a Flow This will automatically discover services if the device is in a ConnectableDeviceState.Connected.NoServices state. This differs from services in that the resulting flow will only emit once services are discovered.
Gets the (Flow of) the distance in meters between the scanner and a ConnectableDevice. To get a more stable result, this method will average the distance over the last averageOver results.
Gets the (Flow of) the distance in meters between the scanner and a Flow of ConnectableDevice. To get a more stable result, this method will average the distance over the last averageOver results.
Gets a (Flow of) ConnectableDeviceState.Connected.DiscoveredServices from a ConnectableDevice This will automatically start discovering services if the device is in a ConnectableDeviceState.Connected.NoServices state.
Gets a (Flow of) ConnectableDevice with a given Identifier from a Flow of a list of ConnectableDevice.
Gets a (Flow of) the list RemoteService that are included with the RemoteService in a Flow
Gets the (Flow of) DeviceInfo from a Flow of ConnectableDevice
Gets the (Flow of) the MTU from a ConnectableDevice
Gets the (Flow of) the MTU from a Flow of ConnectableDevice
Pairs a (Flow of) ConnectableDevice by waiting for it to become connected and calling [ConnectableDeviceState.Connected.pair]
Attempts to request a MTU size for the ConnectableDevice from a ConnectableDevice
Attempts to request a MTU size for the ConnectableDevice from a Flow of ConnectableDevice
Gets the (Flow of) the RSSI value from a Flow of ConnectableDevice
Gets a (Flow of) the list of Service associated with the ConnectableDevice This will automatically discover services if the device is in a ConnectableDeviceState.Connected.NoServices state.
Gets a (Flow of) the list of Service associated with the ConnectableDevice in a Flow This will automatically discover services if the device is in a ConnectableDeviceState.Connected.NoServices state.
Gets a (Flow of) DeviceState from a Flow or ConnectableDevice
Pairs a (Flow of) ConnectableDevice by calling [ConnectableDeviceState.unpair] on the first ConnectableDeviceState
Attempts to request an update to the RSSI of the ConnectableDevice from a ConnectableDevice When this method completes, the devices should have had ConnectableDeviceState.Connected.readRssi called
Attempts to request an update to the RSSI of the ConnectableDevice from a Flow of ConnectableDevice When this method completes, the devices should have had ConnectableDeviceState.Connected.readRssi called
Gets a (Flow of) the ByteArray value from a RemoteCharacteristic This method will automatically subscribe/unsubscribe to the RemoteCharacteristic when the Flow is collected
Gets a (Flow of) the ByteArray value from a Flow of an RemoteCharacteristic This method will automatically subscribe/unsubscribe to the RemoteCharacteristic when the Flow is collected
Gets a (Flow of) T value from a RemoteCharacteristic This method will automatically subscribe/unsubscribe to the RemoteCharacteristic when the Flow is collected
Gets a (Flow of) T value from a Flow of an RemoteCharacteristic This method will automatically subscribe/unsubscribe to the RemoteCharacteristic when the Flow is collected
Gets a (Flow of) the ByteArray value from a Flow of an RemoteCharacteristic or an empty ByteArray if data is unavailable This method will automatically subscribe/unsubscribe to the RemoteCharacteristic when the Flow is collected
Gets a (Flow of) T value from a Flow of an RemoteCharacteristic This method will automatically subscribe/unsubscribe to the RemoteCharacteristic when the Flow is collected
Gets a (Flow of) T value from a Flow of an RemoteCharacteristic or null if data is unavailable This method will automatically subscribe/unsubscribe to the RemoteCharacteristic when the Flow is collected