MethodChannelBlep class
An implementation of BlepPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- BlepPlatform
- MethodChannelBlep
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- methodChannel → MethodChannel
-
The method channel used to interact with the native platform.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
connectToAddress(
String address, int? phy) → Stream< DeviceConnectionState> -
override
-
disconnectDevice(
BluetoothDevice device) → Future< void> -
override
-
discoverServices(
BluetoothDevice device) → Future< List< String> > -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
readData(
String address, String service, String characteristic) → Future< Uint8List> -
override
-
scanDevices(
String? name, List< String> withServices, ManufacturerSpecificData? manufacturerSpecificData) → Stream<BluetoothDevice> -
override
-
subscribeCharacteristic(
String address, String service, String characteristic) → Stream< Uint8List> -
override
-
toString(
) → String -
A string representation of this object.
inherited
-
writeData(
String address, String service, String characteristic, Uint8List data) → Future< void> -
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited