Contents

Pass.Locations

An object that represents a location that the system uses to show a relevant pass.

Declaration

object Pass.Locations

Properties

NameTypeDescription
altitudedouble

The altitude, in meters, of the location.

latitude Requireddouble

The latitude, in degrees, of the location.

longitude Requireddouble

The longitude, in degrees, of the location.

relevantTextstring

The text to display on the lock screen when the pass is relevant. For example, a description of a nearby location, such as “Store nearby on 1st and Main”.

See Also

Adding relevance