Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
servicediscoverybroadcastreceiver_p.h
Go to the documentation of this file.
1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef SERVICEDISCOVERYBROADCASTRECEIVER_H
5#define SERVICEDISCOVERYBROADCASTRECEIVER_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists purely as an
12// implementation detail. This header file may change from version to
13// version without notice, or even be removed.
14//
15// We mean it.
16//
17
19#include <QtCore/QList>
20#include <QtBluetooth/QBluetoothDeviceDiscoveryAgent>
21#include <QtBluetooth/QBluetoothUuid>
22
24
26
28{
30public:
32 virtual void onReceive(JNIEnv *env, jobject context, jobject intent);
33 virtual void onReceiveLeScan(JNIEnv *, jobject, jint, jbyteArray) {}
34
35 static QList<QBluetoothUuid> convertParcelableArray(const QJniObject &obj);
36
38 void uuidFetchFinished(const QBluetoothAddress &addr, const QList<QBluetoothUuid> &serviceUuid);
39};
40
42#endif // SERVICEDISCOVERYBROADCASTRECEIVER_H
\inmodule QtBluetooth
\inmodule QtBluetooth
\inmodule QtCore
\inmodule QtCore
Definition qobject.h:103
QObject * parent() const
Returns a pointer to the parent object.
Definition qobject.h:346
virtual void onReceive(JNIEnv *env, jobject context, jobject intent)
virtual void onReceiveLeScan(JNIEnv *, jobject, jint, jbyteArray)
void uuidFetchFinished(const QBluetoothAddress &addr, const QList< QBluetoothUuid > &serviceUuid)
static QList< QBluetoothUuid > convertParcelableArray(const QJniObject &obj)
Combined button and popup list for selecting options.
static void * context
GLhandleARB obj
[2]
GLenum const void * addr
#define Q_OBJECT
#define signals