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
SDLUpdateTurnList

SDLUpdateTurnList Class Reference

Section Contents

Overview

Updates the list of next maneuvers, which can be requested by the user pressing the softbutton

  • “Turns” on the Navigation base screen. Three softbuttons are predefined by the system: Up, Down, Close. *

  • @since SmartDeviceLink 2.0

-initWithTurnList:softButtons:

Convenience init to update a list of maneuvers for navigation

Objective-C

- (nonnull instancetype)initWithTurnList:(nullable NSArray<SDLTurn *> *)turnList
                             softButtons:(nullable NSArray<SDLSoftButton *> *)
                                             softButtons;

Swift

init(turnList: [SDLTurn]?, softButtons: [SDLSoftButton]?)

Parameters

turnList

A struct used in UpdateTurnList for Turn-by-Turn navigation applications

softButtons

An array of softbuttons

turnList

Optional, SDLTurn, 1 - 100 entries

Objective-C

@property (nonatomic, strong, nullable) NSArray<SDLTurn *> *turnList;

Swift

var turnList: [SDLTurn]? { get set }

softButtons

Required, SDLSoftButton, 0 - 1 Entries

Objective-C

@property (nonatomic, strong, nullable) NSArray<SDLSoftButton *> *softButtons;

Swift

var softButtons: [SDLSoftButton]? { get set }
View on GitHub.com
Previous Section Next Section