Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
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