10 lines
349 B
Dart
10 lines
349 B
Dart
|
|
part of '../printer.dart';
|
||
|
|
|
||
|
|
abstract class IPrinterRepository {
|
||
|
|
Future<Either<PrinterFailure, bool>> connectBluetooth(String macAddress);
|
||
|
|
Future<Either<PrinterFailure, bool>> disconectBluetooth();
|
||
|
|
Future<Either<PrinterFailure, bool>> isBluetoothEnabled();
|
||
|
|
Future<Either<PrinterFailure, List<BluetoothInfo>>>
|
||
|
|
getPairedBluetoothDevices();
|
||
|
|
}
|