MethodChannelFlutterTelinkBle class

An implementation of FlutterTelinkBlePlatform that uses method channels.

Inheritance

Properties

connectionStateStream Stream<MeshConnectionStateEvent>
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
methodChannel MethodChannel
The method channel used to interact with the native platform.
final
otaProgressStream Stream<OTAProgress>
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addDeviceToGroup(int deviceAddress, int groupAddress) Future<void>
override
connectToMesh() Future<bool>
override
disconnectFromMesh() Future<void>
override
dispose() Future<void>
override
getPlatformVersion() Future<String?>
override
initialize(TelinkMeshConfig config) Future<bool>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
provisionDevice(DeviceProvisionConfig config) Future<ProvisionResult>
override
removeDeviceFromGroup(int deviceAddress, int groupAddress) Future<void>
override
scanForDevices() Stream<UnprovisionedDevice>
override
sendColorCommand(int address, Color color) Future<void>
override
sendLevelCommand(int address, int level) Future<void>
override
sendOnOffCommand(int address, bool isOn) Future<void>
override
startOTA(int deviceAddress, Uint8List firmwareData) Future<void>
override
stopScan() Future<void>
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited