SDLUpdateTurnList Class Reference

Section Contents

Overview

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

-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 }