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

NavigationCapability Class Reference

Constructors

Instance Methods

Constructors

new NavigationCapability(parameters)

Initializes an instance of NavigationCapability.

Instance Methods

navigationCapability.getGetWayPointsEnabled() ⇒ Boolean

Get the GetWayPointsEnabled

Kind: Instance method of NavigationCapability
Returns: Boolean - the KEY_GET_WAY_POINTS_ENABLED value

navigationCapability.getSendLocationEnabled() ⇒ Boolean

Get the SendLocationEnabled

Kind: Instance method of NavigationCapability
Returns: Boolean - the KEY_SEND_LOCATION_ENABLED value

navigationCapability.setGetWayPointsEnabled(enabled) ⇒ NavigationCapability

Set the GetWayPointsEnabled

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

ParamTypeDescription
enabled Boolean If the module has the ability to return way points from onboard nav - The desired GetWayPointsEnabled.

navigationCapability.setSendLocationEnabled(enabled) ⇒ NavigationCapability

Set the SendLocationEnabled

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

ParamTypeDescription
enabled Boolean If the module has the ability to add locations to the onboard nav - The desired SendLocationEnabled.
View on GitHub.com