summaryrefslogtreecommitdiff
path: root/src/positioning/qgeopositioninfosource.cpp
diff options
context:
space:
mode:
authorIvan Solovev <ivan.solovev@qt.io>2021-06-21 17:01:57 +0200
committerIvan Solovev <ivan.solovev@qt.io>2021-06-23 13:53:40 +0200
commit81b8ffc7514eddebb8d89d4ded0bee385fd43abf (patch)
tree4c33f94cf70ee882077c4f94d873948e941da1bb /src/positioning/qgeopositioninfosource.cpp
parent2bc885ee2d3deba7567b96214d5361ed7a3f8af4 (diff)
downloadqtlocation-81b8ffc7514eddebb8d89d4ded0bee385fd43abf.tar.gz
QtPositioning: extend Android docs
This patch extends the docs to mention some Android-specific topics Task-number: QTBUG-71396 Pick-to: 6.2 Change-Id: I8f0757a896faeee279cfa0f16a940fe5e66df3a9 Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
Diffstat (limited to 'src/positioning/qgeopositioninfosource.cpp')
-rw-r--r--src/positioning/qgeopositioninfosource.cpp11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/positioning/qgeopositioninfosource.cpp b/src/positioning/qgeopositioninfosource.cpp
index 6f10de85..e09be54e 100644
--- a/src/positioning/qgeopositioninfosource.cpp
+++ b/src/positioning/qgeopositioninfosource.cpp
@@ -90,8 +90,11 @@ Q_GLOBAL_STATIC_WITH_ARGS(QFactoryLoader, loader,
To remove an update interval that was previously set, call
setUpdateInterval() with a value of 0.
- Note that the position source may have a minimum value requirement for
+ \note The position source may have a minimum value requirement for
update intervals, as returned by minimumUpdateInterval().
+
+ \note To use this class from Android service, see
+ \l {Qt Positioning on Android}.
*/
/*!
@@ -523,6 +526,9 @@ QGeoPositionInfoSource::QGeoPositionInfoSource(QGeoPositionInfoSourcePrivate &dd
\note Since Qt6 this method always resets the last error to
\l {QGeoPositionInfoSource::}{NoError} before starting the updates.
+ \note To understand how to use this method from an Android service, see
+ \l {Qt Positioning on Android}.
+
On iOS, starting from version 8, Core Location framework requires additional
entries in the application's Info.plist with keys NSLocationAlwaysUsageDescription or
NSLocationWhenInUseUsageDescription and a string to be displayed in the authorization prompt.
@@ -563,6 +569,9 @@ QGeoPositionInfoSource::QGeoPositionInfoSource(QGeoPositionInfoSourcePrivate &dd
\note Since Qt6 this method always resets the last error to
\l {QGeoPositionInfoSource::}{NoError} before requesting
the position.
+
+ \note To understand how to use this method from an Android service, see
+ \l {Qt Positioning on Android}.
*/
/*!