FlutterSimpleBluetoothPrinterPlatform class abstract

By Xiao 2023/1

Inheritance
  • Object
  • PlatformInterface
  • FlutterSimpleBluetoothPrinterPlatform
Implementers

Constructors

FlutterSimpleBluetoothPrinterPlatform()
Constructs a FlutterSimpleBluetoothPrinterPlatform.

Properties

connectState Stream<BTConnectState>
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scanResults Stream<List<BluetoothDevice>>
no setter

Methods

connect({required String address, bool isBLE = true, Duration timeout = const Duration(seconds: 7)}) Future<bool>
currentConnectState() Future<BTConnectState>
disconnect() Future<bool>
discovery() Stream<BluetoothDevice>
getAndroidPairedDevices() Future<List<BluetoothDevice>>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
scan({required Duration timeout}) Future<List<BluetoothDevice>>
stopDiscovery() Future<bool>
toString() String
A string representation of this object.
inherited
writeRawData(Uint8List bytes) Future<bool>
writeText(String text) Future<bool>

Operators

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

Static Properties

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