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
androidjninfc_p.h
Go to the documentation of this file.
1
// Copyright (C) 2016 Centria research and development
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
#ifndef ANDROIDJNINFC_H
4
#define ANDROIDJNINFC_H
5
6
//
7
// W A R N I N G
8
// -------------
9
//
10
// This file is not part of the Qt API. It exists purely as an
11
// implementation detail. This header file may change from version to
12
// version without notice, or even be removed.
13
//
14
// We mean it.
15
//
16
17
#include "
qglobal.h
"
18
19
#include <QtCore/QJniObject>
20
#include <QtCore/qjnitypes.h>
21
22
QT_BEGIN_NAMESPACE
23
24
Q_DECLARE_JNI_CLASS
(
QtNfc
,
"org/qtproject/qt/android/nfc/QtNfc"
)
25
Q_DECLARE_JNI_CLASS
(QtNfcBroadcastReceiver, "
org
/qtproject/qt/android/nfc/QtNfcBroadcastReceiver")
26
27
Q_DECLARE_JNI_TYPE
(StringArray, "[Ljava/lang/String;")
28
Q_DECLARE_JNI_CLASS
(Intent, "android/content/Intent")
29
Q_DECLARE_JNI_CLASS
(Parcellable, "android/os/Parcelable")
30
31
Q_DECLARE_JNI_CLASS
(NdefMessage, "android/nfc/NdefMessage")
32
33
namespace
QtNfc
{
34
bool
startDiscovery
();
35
bool
stopDiscovery
();
36
QJniObject
getStartIntent
();
37
bool
isEnabled
();
38
bool
isSupported
();
39
QJniObject
getTag
(
const
QJniObject
&intent);
40
}
// namespace QtNfc
41
42
QT_END_NAMESPACE
43
44
#endif
Q_DECLARE_JNI_TYPE
Q_DECLARE_JNI_TYPE(StringArray, "[Ljava/lang/String;")
QJniObject
\inmodule QtCore
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1590
QtNfc
Definition
androidjninfc.cpp:8
QtNfc::stopDiscovery
bool stopDiscovery()
Definition
androidjninfc.cpp:28
QtNfc::getStartIntent
QJniObject getStartIntent()
Definition
androidjninfc.cpp:34
QtNfc::startDiscovery
bool startDiscovery()
Definition
androidjninfc.cpp:10
QtNfc::isEnabled
bool isEnabled()
Definition
androidjninfc.cpp:16
QtNfc::getTag
QJniObject getTag(const QJniObject &intent)
Definition
androidjninfc.cpp:40
QtNfc::isSupported
bool isSupported()
Definition
androidjninfc.cpp:22
org
qglobal.h
Q_DECLARE_JNI_CLASS
QT_BEGIN_NAMESPACE Q_DECLARE_JNI_CLASS(Environment, "android/os/Environment")
qtconnectivity
src
nfc
android
androidjninfc_p.h
Generated by
1.10.0