初始版本
This commit is contained in:
@ -0,0 +1,16 @@
|
||||
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);
|
||||
}
|
||||
Reference in New Issue
Block a user