PySide6.QtLocation.QLocation¶
- class QLocation¶
The QLocation namespace contains miscellaneous identifiers used throughout the QtLocation module. More…
Note
This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE
Detailed Description¶
- class Visibility¶
(inherits
enum.Flag
) Defines the visibility of aQPlace
orQPlaceCategory
.Constant
Description
QLocation.UnspecifiedVisibility
No explicit visibility has been defined.
QLocation.DeviceVisibility
Places and categories with DeviceVisibility are only stored on the local device.
QLocation.PrivateVisibility
Places and categories with PrivateVisibility are only visible to the current user. The data may be stored either locally or on a remote service or both.
QLocation.PublicVisibility
Places and categories with PublicVisibility are visible to everyone.
A particular manager may support one or more visibility scopes. For example a manager from one provider may only provide places that are public to everyone, whilst another may provide both public and private places.
Note
The meaning of unspecified visibility depends on the context it is used.
When saving a place or category, the default visibility is unspecified meaning that the manager chooses an appropriate visibility scope for the item.
When searching for places, unspecified means that places of any scope is returned.