Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Internet Explorer alert
This browser is not recommended for use with smartdevicelink.com, and may not function properly. Upgrade to a different browser to guarantee support of all features.
close alert
To Top Created with Sketch. To Top
To Bottom Created with Sketch. To Bottom
JavaScript Suite Documentation

OnWayPointChange Class Reference

Constructors

Instance Methods

Constructors

new OnWayPointChange(parameters)

Initializes an instance of OnWayPointChange.

Instance Methods

onWayPointChange.getWayPoints() ⇒ Array.<LocationDetails>

Get the WayPoints

Kind: Instance method of OnWayPointChange
Returns: Array.<LocationDetails> - the KEY_WAY_POINTS value

onWayPointChange.setWayPoints(points) ⇒ OnWayPointChange

Set the WayPoints

Kind: Instance method of OnWayPointChange
Returns: OnWayPointChange - The class instance for method chaining.

ParamTypeDescription
points Array.<LocationDetails> See LocationDetails - The desired WayPoints. {'array_min_size': 1, 'array_max_size': 10}
View on GitHub.com