Module: Toybox::PersistedLocations Deprecated

Overview

Deprecated.

This module will be removed in Connect IQ 4.0.0

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:

Since:

  • 1.0.2

App Types:

  • App

  • Audio Content Provider App

  • Background Services

Requires Permission:

  • PersistedLocations

Instance Method Summary collapse

Instance Method Details

persistLocation(location, options) ⇒ Object

Deprecated.

This method will be removed in Connect IQ 4.0.0.

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

See Also:

Since:

  • 1.0.2


9280
9281
# File 'Monkeybrains.rb', line 9280

def persistLocation(location, options)
end