BlepPlatform class abstract

Inheritance
  • Object
  • PlatformInterface
  • BlepPlatform
Implementers

Constructors

BlepPlatform()
Constructs a BlepPlatform.

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

connectToAddress(String address, int? phy) Stream<DeviceConnectionState>
disconnectDevice(BluetoothDevice device) Future<void>
discoverServices(BluetoothDevice device) Future<List<String>>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
readData(String address, String service, String characteristic) Future<Uint8List>
scanDevices(String? name, List<String> withServices, ManufacturerSpecificData? manufacturerSpecificData) Stream<BluetoothDevice>
subscribeCharacteristic(String address, String service, String characteristic) Stream<Uint8List>
toString() String
A string representation of this object.
inherited
writeData(String address, String service, String characteristic, Uint8List data) Future<void>

Operators

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

Static Properties

instance BlepPlatform
The default instance of BlepPlatform to use.
getter/setter pair