Module: Toybox::PersistedLocations Deprecated

Overview

Deprecated.

The PersistedLocations module will be dropped in Connect IQ 4.0.0. @see PersistedContent instead.

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.

Since:

  • 1.0.2

App Types:

  • App

  • Audio Content Provider App

Requires Permission:

  • PersistedLocations

Instance Method Summary collapse

Instance Method Details

persistLocation(location, options) ⇒ Object

Deprecated.

This function will be dropped in Connect IQ 4.0.0. @see PersistedContent.saveWaypoint instead.

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

Parameters:

  • location (Location)

    Location object to persist

  • options (Dictionary)

    Dictionary of options, or null to accept defaults

  • :name (Hash)

    a customizable set of options

Since:

  • 1.0.2


8130
8131
# File 'Monkeybrains.rb', line 8130

def persistLocation(location, options)
end