4#ifndef QGEOPOSITIONINFOSOURCE_ANDROID_P_H
5#define QGEOPOSITIONINFOSOURCE_ANDROID_P_H
18#include <QGeoPositionInfoSource>
48 void requestTimeout();
49 void regularUpdatesTimeout();
52 void reconfigureRunningSystem();
55 bool updatesRunning =
false;
56 int androidClassKeyForUpdate;
57 int androidClassKeyForSingleRequest;
61 QTimer m_regularUpdatesTimer;
62 qint64 m_lastUpdateTime = 0;
63 bool m_regularUpdatesErrorRaised =
false;
static JNINativeMethod methods[]
virtual void stopUpdates() override
QGeoPositionInfo lastKnownPosition(bool fromSatellitePositioningMethodsOnly=false) const override
Returns an update containing the last known position, or a null update if none is available.
void processSinglePositionUpdate(const QGeoPositionInfo &pInfo)
virtual void startUpdates() override
void locationProvidersChanged()
~QGeoPositionInfoSourceAndroid()
virtual void requestUpdate(int timeout=0) override
void processPositionUpdate(const QGeoPositionInfo &pInfo)
void setPreferredPositioningMethods(PositioningMethods methods) override
void setUpdateInterval(int msec) override
int minimumUpdateInterval() const override
Error error() const override
Returns the type of error that last occurred.
PositioningMethods supportedPositioningMethods() const override
Returns the positioning methods available to this source.
void locationProviderDisabled()
Error
The Error enumeration represents the errors which can occur.
QObject * parent() const
Returns a pointer to the parent object.
GLbitfield GLuint64 timeout
[4]