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 }