31 lines
700 B
Java
31 lines
700 B
Java
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;
|
|
}
|
|
}
|