初始版本
This commit is contained in:
30
app/src/main/java/com/qidian/baseble/ble/ScanDataEvent.java
Normal file
30
app/src/main/java/com/qidian/baseble/ble/ScanDataEvent.java
Normal file
@ -0,0 +1,30 @@
|
||||
package com.qidian.baseble.ble;
|
||||
|
||||
import com.qidian.baseble.model.BluetoothLeDevice;
|
||||
import com.vise.xsnow.event.IEvent;
|
||||
|
||||
public class ScanDataEvent implements IEvent {
|
||||
private byte[] data;
|
||||
private BluetoothLeDevice bluetoothLeDevice;
|
||||
|
||||
public ScanDataEvent() {
|
||||
}
|
||||
|
||||
public byte[] getData() {
|
||||
return data;
|
||||
}
|
||||
|
||||
public ScanDataEvent setData(byte[] data) {
|
||||
this.data = data;
|
||||
return this;
|
||||
}
|
||||
|
||||
public BluetoothLeDevice getBluetoothLeDevice() {
|
||||
return bluetoothLeDevice;
|
||||
}
|
||||
|
||||
public ScanDataEvent setBluetoothLeDevice(BluetoothLeDevice bluetoothLeDevice) {
|
||||
this.bluetoothLeDevice = bluetoothLeDevice;
|
||||
return this;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user