Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Documentation
Sidebar

SDLSetDisplayLayout Class Reference

Section Contents

Overview

Used to set an alternate display layout. If not sent, default screen for given platform will be shown

Since SmartDeviceLink 2.0

-initWithPredefinedLayout:

Undocumented

Objective-C

- (instancetype)initWithPredefinedLayout:(SDLPredefinedLayout)predefinedLayout;

Swift

init(predefinedLayout: SDLPredefinedLayout)

-initWithLayout:

Undocumented

Objective-C

- (instancetype)initWithLayout:(NSString *)displayLayout;

Swift

init(layout displayLayout: String)

-initWithPredefinedLayout:dayColorScheme:nightColorScheme:

Undocumented

Objective-C

- (instancetype)initWithPredefinedLayout:(SDLPredefinedLayout)predefinedLayout dayColorScheme:(SDLTemplateColorScheme *)dayColorScheme nightColorScheme:(SDLTemplateColorScheme *)nightColorScheme;

Swift

init(predefinedLayout: SDLPredefinedLayout, dayColorScheme: SDLTemplateColorScheme, nightColorScheme: SDLTemplateColorScheme)

displayLayout

A display layout. Predefined or dynamically created screen layout. Currently only predefined screen layouts are defined. Predefined layouts include: ONSCREEN_PRESETS Custom screen containing app-defined onscreen presets. Currently defined for GEN2

Objective-C

@property (readwrite, strong, nonatomic) NSString *_Nonnull displayLayout;

Swift

var displayLayout: String { get set }

dayColorScheme

The color scheme to be used on a head unit using a light or day color scheme. The OEM may only support this theme if their head unit only has a light color scheme.

Optional

Objective-C

@property (readwrite, strong, nonatomic, nullable)
    SDLTemplateColorScheme *dayColorScheme;

Swift

var dayColorScheme: SDLTemplateColorScheme? { get set }

nightColorScheme

The color scheme to be used on a head unit using a dark or night color scheme. The OEM may only support this theme if their head unit only has a dark color scheme.

Optional

Objective-C

@property (readwrite, strong, nonatomic, nullable)
    SDLTemplateColorScheme *nightColorScheme;

Swift

var nightColorScheme: SDLTemplateColorScheme? { get set }
View on GitHub.com
Previous Section Next Section