flutter_ttc_ble library
Classes
Enums
- BluetoothState
- 手机蓝牙的开关状态
- CharacteristicWriteType
- ConnectionPriority
- Android5.0 开始支持
Mixins
Extensions
Functions
-
convertTime(
int millisecond) → String - 将毫秒数转换成 HH:mm:ss 格式的时间,一般用于计时显示
-
currentTime(
String pattern) → String - 当前时间的字符串表示,支持 yyyy MM dd HH mm ss SSS 的任意组合
-
formatInteger(
int i, int width, {int radix = 10}) → String
Typedefs
- BleCallback = _MessageHandler