SDLDynamicMenuUpdatesMode Enumeration Reference

Section Contents

Overview

Dynamic Menu Manager Mode

When on this feature will smart arrange a new menu comparing it to the old menu if one exists.

SDLDynamicMenuUpdatesModeForceOn

Forces on compatibility mode. This will force the menu manager to delete and re-add each menu item for every menu update. This mode is generally not advised due to performance issues.

Objective-C

SDLDynamicMenuUpdatesModeForceOn = 0

Swift

case forceOn = 0

SDLDynamicMenuUpdatesModeForceOff

This mode forces the menu manager to always dynamically update menu items for each menu update. This will provide the best performance but may cause ordering issues on some SYNC Gen 3 head units.

Objective-C

SDLDynamicMenuUpdatesModeForceOff

Swift

case forceOff = 1

SDLDynamicMenuUpdatesModeOnWithCompatibility

This mode checks whether the phone is connected to a SYNC Gen 3 head unit, which has known menu ordering issues. If it is, it will always delete and re-add every menu item, if not, it will dynamically update the menus.

Objective-C

SDLDynamicMenuUpdatesModeOnWithCompatibility

Swift

case onWithCompatibility = 2