5#ifndef JNIBROADCASTRECEIVER_H
6#define JNIBROADCASTRECEIVER_H
20#include <QtCore/QObject>
21#include <QtCore/private/qglobal_p.h>
22#include <android/log.h>
24#include <QtCore/QJniObject>
29 QtJniTypes::Context, QtJniTypes::Intent);
48 virtual void onReceiveLeScan(JNIEnv *env, jobject jBluetoothDevice, jint
rssi, jbyteArray scanRecord) = 0;
QT_BEGIN_NAMESPACE void QtBroadcastReceiver_jniOnReceive(JNIEnv *, jobject, jlong, QtJniTypes::Context, QtJniTypes::Intent)
virtual void onReceive(JNIEnv *env, jobject context, jobject intent)=0
QJniObject broadcastReceiverObject
virtual ~AndroidBroadcastReceiver()
virtual void onReceiveLeScan(JNIEnv *env, jobject jBluetoothDevice, jint rssi, jbyteArray scanRecord)=0
QJniObject intentFilterObject
void unregisterReceiver()
friend void QtBroadcastReceiver_jniOnReceive(JNIEnv *, jobject, jlong, QtJniTypes::Context, QtJniTypes::Intent)
friend void QtBluetoothLE_leScanResult(JNIEnv *, jobject, jlong, QtJniTypes::BluetoothDevice, jint, jbyteArray)
void addAction(const QJniObject &filter)
QObject * parent() const
Returns a pointer to the parent object.
Combined button and popup list for selecting options.
GLint GLint GLint GLint GLint GLint GLint GLbitfield GLenum filter