androidx.bluetooth


Interfaces

GattClientScope

Scope for operations as a GATT client role.

GattServerConnectFlow

A flow of GattServerConnectRequest returned by calling BluetoothLe.openGattServer.

GattServerSessionScope

A scope for operations as a GATT server role.

Classes

AdvertiseParams

A class to provide a way to adjust advertising preferences and advertise data packet.

BluetoothAddress

Represents a Bluetooth address for a remote device.

BluetoothDevice

Represents a remote Bluetooth device.

BluetoothLe

Entry point for BLE related operations.

GattCharacteristic

Represents a Bluetooth characteristic.

GattServerConnectRequest

Represents a connect request from a remote device.

GattServerRequest

Represents a request to be handled as a GATT server role.

GattServerRequest.ReadCharacteristic

Represents a read characteristic request.

GattServerRequest.WriteCharacteristics

Represents a request to write characteristics.

GattServerRequest.WriteCharacteristics.Part

A part of write requests.

GattService

Represents a Bluetooth GATT service.

ScanFilter

Criteria for filtering result from Bluetooth LE scans.

ScanResult

Represents a scan result for Bluetooth LE scan.

Exceptions

AdvertiseException
BluetoothException

Exception for general Bluetooth operations

ScanException