No Description

PrinterSettingContract.java 1000B

    package ai.pai.lensman.printer; import android.bluetooth.BluetoothDevice; import java.util.List; /** * Created by chengzhenyu on 2016/9/1. */ public class PrinterSettingContract { public interface Presenter{ void start(); void stop(); void queryPrinterStatus(); void printTestPage(); boolean queryBluetoothStatus(); List<BluetoothDevice> queryPairedDevices(); void discoverNewDevices(); void connectPrinter(BluetoothDevice device); void cancelDiscovery(); } public interface View{ void onBluetoothEnabled(); void onBluetoothDisabled(); void onPrinterOk(); void onPrinterError(String error); void onPrinterConnected(); void onPrinterDisconnected(); void onNewDeviceDiscovered(BluetoothDevice device); void onPrinterTestPageFail(); void onPairedDeviceDiscovered(List<BluetoothDevice> devices); void showToast(String msg); } }
tonglan/adminSystem - Gogs: Go Git Service

1 Revīzijas (c867e20322b8b21d905cf4914db09d51295e400b)

Autors SHA1 Ziņojums Datums
  FFIB 11e3a9652a first 8 gadi atpakaļ