Files
smart-speaker-android-main/app/src/main/java/com/qidian/baseble/callback/IBleCallback.java
2025-07-11 21:19:23 +08:00

17 lines
520 B
Java

package com.qidian.baseble.callback;
import com.qidian.baseble.core.BluetoothGattChannel;
import com.qidian.baseble.exception.BleException;
import com.qidian.baseble.model.BluetoothLeDevice;
/**
* @Description: 操作数据回调
* @author: <a href="http://xiaoyaoyou1212.360doc.com">DAWI</a>
* @date: 2017/10/17 19:42
*/
public interface IBleCallback {
void onSuccess(byte[] data, BluetoothGattChannel bluetoothGattChannel, BluetoothLeDevice bluetoothLeDevice);
void onFailure(BleException exception);
}