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
iOS Documentation
SDLNavigationCapability

SDLNavigationCapability Class Reference

Section Contents

Overview

Extended capabilities for an onboard navigation system

-initWithSendLocation:waypoints:

Convenience init with all parameters

Objective-C

- (nonnull instancetype)initWithSendLocation:(BOOL)sendLocationEnabled
                                   waypoints:(BOOL)waypointsEnabled;

Swift

init(sendLocation sendLocationEnabled: Bool, waypoints waypointsEnabled: Bool)

Parameters

sendLocationEnabled

Whether or not the SendLocation RPC is enabled

waypointsEnabled

Whether SDLNavigationInstruction.hor not Waypoint related RPCs are enabled

Return Value

An SDLNavigationCapability object

sendLocationEnabled

Whether or not the SendLocation RPC is enabled.

Boolean, optional

Objective-C

@property (nonatomic, copy, nullable) NSNumber *sendLocationEnabled;

Swift

@NSCopying var sendLocationEnabled: NSNumber? { get set }

getWayPointsEnabled

Whether or not Waypoint related RPCs are enabled.

Boolean, optional

Objective-C

@property (nonatomic, copy, nullable) NSNumber *getWayPointsEnabled;

Swift

@NSCopying var getWayPointsEnabled: NSNumber? { get set }
View on GitHub.com
Previous Section Next Section