Used to set an alternate template layout to a window.
@since SDL 6.0
Constructor with the required values.
- (nonnull instancetype)initWithPredefinedLayout:
(nonnull SDLPredefinedLayout)predefinedLayout;
init(predefinedLayout: SDLPredefinedLayout)
A template layout an app uses to display information. The broad details of the layout are defined, but the details depend on the IVI system. Used in SetDisplayLayout.
Init with the required values.
- (nonnull instancetype)initWithTemplate:(nonnull NSString *)template;
init(template: String)
Predefined or dynamically created window template. Currently only predefined window template layouts are defined.
Convenience constructor with all the parameters.
- (nonnull instancetype)
initWithTemplate:(nonnull NSString *)template
dayColorScheme:(nullable SDLTemplateColorScheme *)dayColorScheme
nightColorScheme:(nullable SDLTemplateColorScheme *)nightColorScheme;
init(template: String, dayColorScheme: SDLTemplateColorScheme?, nightColorScheme: SDLTemplateColorScheme?)
Predefined or dynamically created window template. Currently only predefined window template layouts are defined.
The color scheme to use when the head unit is in a light / day situation. If nil, the existing color scheme will be used.
The color scheme to use when the head unit is in a dark / night situation.
Predefined or dynamically created window template. Currently only predefined window template layouts are defined.
@property (nonatomic, strong) NSString *_Nonnull template;
var template: String { get set }
The color scheme to use when the head unit is in a light / day situation.
@property (nonatomic, strong, nullable) SDLTemplateColorScheme *dayColorScheme;
var dayColorScheme: SDLTemplateColorScheme? { get set }
The color scheme to use when the head unit is in a dark / night situation.
@property (nonatomic, strong, nullable) SDLTemplateColorScheme *nightColorScheme;
var nightColorScheme: SDLTemplateColorScheme? { get set }