Module: Toybox.PersistedLocations


Persisted locations allows the saving of a location (waypoint) to a device's location list. This feature is only available on devices that support waypoints.

See Also:


API Level 1.0.2

App Types:

  • Watch App

  • Audio Content Provider

Supported Devices:

Requires Permission:

  • PersistedLocations

Instance Method Summary collapse

Instance Method Details

persistLocation(location as Location, options as { :name as String or Null } or Null) as Void

This has been deprecated

This method will be removed in Connect IQ 4.0.0.

Save a location (waypoint) to the device's location list


  • location(Location)

    Location object to persist

  • options(Dictionary)

    Dictionary of options, or null to accept defaults

    • :name(String)

      Name to assign to the waypoint. If not specified will be auto-named.

See Also:


API Level 1.0.2

Generated Apr 22, 2021 10:10:32 AM