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
jnipositioning.h
Go to the documentation of this file.
1// Copyright (C) 2021 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 JNIPOSITIONING_H
5#define JNIPOSITIONING_H
6
7#include <QGeoPositionInfoSource>
8#include <QGeoSatelliteInfoSource>
9
10namespace AndroidPositioning
11{
14
15 QGeoPositionInfoSource::PositioningMethods availableProviders();
16 QGeoPositionInfo lastKnownPosition(bool fromSatellitePositioningMethodsOnly,
17 bool useAltitudeConverter);
18
20 void stopUpdates(int androidClassKey);
21 QGeoPositionInfoSource::Error requestUpdate(int androidClassKey, int timeout);
22
24 bool isSingleRequest,
25 int updateRequestTimeout);
27}
28
29#endif // JNIPOSITIONING_H
Error
The Error enumeration represents the errors which can occur.
\inmodule QtPositioning
Error
The Error enumeration represents the errors which can occur.
\inmodule QtCore
Definition qobject.h:103
void unregisterPositionInfoSource(int key)
QGeoSatelliteInfoSource::Error startSatelliteUpdates(int androidClassKey, bool isSingleRequest, int requestTimeout)
int registerPositionInfoSource(QObject *obj)
QGeoPositionInfoSource::Error requestUpdate(int androidClassKey, int timeout)
QGeoPositionInfo lastKnownPosition(bool fromSatellitePositioningMethodsOnly, bool useAltitudeConverter)
QGeoPositionInfoSource::Error startUpdates(int androidClassKey)
QGeoPositionInfoSource::PositioningMethods availableProviders()
void stopUpdates(int androidClassKey)
GLuint64 key
GLbitfield GLuint64 timeout
[4]
GLhandleARB obj
[2]