The related classes are as follows:
BleCentralManager: starts, stops, and calls back BLE scanning.BlePeripheralDevice: provides the types of BLE peripheral devices and related operations.BlePeripheralCallback: defines the callback used to send notifications when services are discovered or
the peripheral device status changes.BleScanFilter: represents the BLE scanning filter.GattService: represents the Bluetooth GATT service.GattCharacteristic: represents the Bluetooth GATT characteristic, which is a basic data element used to
construct a GATT service.GattDescriptor: represents a Bluetooth GATT descriptor, which contains additional information and
attributes of a GATT characteristic.| 接口 | 说明 |
|---|---|
| BleCentralManagerCallback |
An interface that defines the callback used to send notifications of operations on Central devices.
|
| 类 | 说明 |
|---|---|
| BleAdvertiseCallback |
An abstract class for Bluetooth Low Energy (BLE) advertising callbacks.
|
| BleAdvertiseData |
Encapsulates the Bluetooth Low Energy (BLE) advertising data, including the data to be advertised as well as the response data for active scans.
|
| BleAdvertiseData.Builder |
Ble advertising data instance builder.
|
| BleAdvertiser |
Manages Bluetooth Low Energy (BLE) advertising.
|
| BleAdvertiseSettings |
Provides methods for setting Bluetooth Low Energy (BLE) advertising parameters,
such as the advertising interval, transmission power level, and whether an advertisement is connectable.
|
| BleAdvertiseSettings.Builder |
BleAdvertiseSettings builder. |
| BleCentralManager |
Starts, stops, and calls back BLE scanning.
|
| BlePeripheralCallback |
An abstract class that defines the callback used to send notifications of operations on peripheral devices,
such as service discovery and connection status changes.
|
| BlePeripheralDevice |
Provides the types of Bluetooth Low Energy (BLE) peripheral devices and related operations.
|
| BlePeripheralManager |
Provides a Bluetooth GATT server for managing BLE peripheral devices.
|
| BlePeripheralManagerCallback |
An abstract class that defines the callback used to send notifications of operations on GATT server.
|
| BleScanFilter |
Filters BLE scanning results.
|
| BleScanResult |
Represents the BLE scan result set.
|
| GattCharacteristic |
Represents the Bluetooth GATT characteristic.
|
| GattDescriptor |
Represents the Bluetooth GATT descriptor.
|
| GattService |
Represents the Bluetooth GATT service.
|