public interface PrinterObserver
| Modifier and Type | Method and Description |
|---|---|
void |
printerObserverCallback(PrinterInterface printerInterface,
int conState)
连接状态回调
Connection state callback |
void printerObserverCallback(PrinterInterface printerInterface, int conState)
printerInterface - 连接的配置信息(printerInterface.getConfigObject == 如WiFi: WiFiConfigBean)conState - 状态
连接成功:CONNECT_STATE_SUCCESS,
连接中断:CONNECT_STATE_INTERRUPTED