Files
bluetooth_low_energy/bluetooth_low_energy_platform_interface/README.md
Mr剑侠客 d1726b52fa feat: 重构项目 2.0.0 (#6)
* feat: 重构项目

* feat: 添加 bluez_central_manager

* feat: 联合插件

* feat: 拆分项目

* feat: 实现 linux 部分接口

* feat: 重新创建项目

* feat: 定义接口

* feat: 实现接入插件

* feat: 清空接入插件示例代码

* feat: 开发 linux 插件

* feat: 调整接口

* 临时提交

* feat: 实现 Android 接口

* fix: 修复 Android 问题

* fix: 移除多余文件

* feat: 重构项目 (#5)

* fix: 移除多余的状态判断

* fix: 外围设备断开时检查是否存在未完成的操作

* feat: 尝试使用 win32 实现接口

* fix: 修复大小写问题

* feat: 实现 macOS 接口

* feat: 实现 macOS 接口

* fix:支持使用16位短字符串生成UUID

* fix: 修复未清理已完成操作的问题

* fix: 规范命名

* 添加蓝牙使用描述

* fix: 更新 README.md
2023-08-17 17:49:26 +08:00

1001 B

bluetooth_low_energy_platform_interface

A common platform interface for the bluetooth_low_energy plugin.

This interface allows platform-specific implementations of the bluetooth_low_energy plugin, as well as the plugin itself, to ensure they are supporting the same interface.

Usage

To implement a new platform-specific implementation of bluetooth_low_energy, extend CentralController with an implementation that performs the platform-specific behavior, and when you register your plugin, set the default CentralController by calling CentralController.instance = MyCentralController().

Note on breaking changes

Strongly prefer non-breaking changes (such as adding a method to the interface) over breaking changes for this package.

See https://flutter.dev/go/platform-interface-breaking-changes for a discussion on why a less-clean interface is preferable to a breaking change.