ClingBleManager class
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- cfg → HLBleConfig
-
final
- isConnect → bool
-
no setter
- state ↔ ClingBleState
-
getter/setter pair
-
stateStream
→ Stream<
ClingBleState> -
no setter
Static Methods
-
connect(
ClingDevice device, {bool autoReconnect = true}) → void -
deRegisterDevice(
) → void -
disconnect(
) → void -
initialize(
String appid, String secret, {DynamicLibrary? nativeLib}) → FutureOr -
registerDevice(
int userId, int langType) → void -
scan(
ClingDeviceType type, {int seconds = 15, String? connectDevice}) → Stream< List< ClingDevice> > - 搜索|连接
-
stopScan(
) → void