Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
androidutils_p.h
Go to the documentation of this file.
1
// Copyright (C) 2022 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
QANDROIDBLUETOOTHUTILS_H
5
#
define
QANDROIDBLUETOOTHUTILS_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
18
#
include
<
qglobal
.
h
>
19
#
include
<
QtCore
/
QJniObject
>
20
#
include
<
QtCore
/
QPermission
>
21
22
QT_BEGIN_NAMESPACE
23
24
// Checks if a permssion is already authorized or not
25
bool
ensureAndroidPermission
(QBluetoothPermission::CommunicationModes modes);
26
27
// Returns the default bluetooth adapter, or an invalid object if not available
28
QJniObject
getDefaultBluetoothAdapter
();
29
30
QT_END_NAMESPACE
31
32
#
endif
// QANDROIDBLUETOOTHUTILS_H
getDefaultBluetoothAdapter
QJniObject getDefaultBluetoothAdapter()
Definition
androidutils.cpp:27
ensureAndroidPermission
QT_BEGIN_NAMESPACE bool ensureAndroidPermission(QBluetoothPermission::CommunicationModes modes)
Definition
androidutils.cpp:15
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
qtconnectivity
src
bluetooth
android
androidutils_p.h
Generated on
for Qt by
1.18.0