KPkPass::Location Class

A pass location element. More...

Header: #include <KPkPass/Location>
CMake: find_package(KPim6PkPass REQUIRED)
target_link_libraries(mytarget PRIVATE KPim6::PkPass)

Public Functions

double altitude() const
double latitude() const
double longitude() const
QString relevantText() const

Detailed Description

See also https://developer.apple.com/library/content/documentation/UserExperience/Reference/PassKit_Bundle/Chapters/LowerLevel.html.

Member Function Documentation

double Location::altitude() const

Altitude in meters, NaN if not set.

double Location::latitude() const

Latitude in degree.

double Location::longitude() const

Longitude in degree.

QString Location::relevantText() const

Text to display when location is reached.