A color scheme for all display layout templates.
Convenience init
- (nonnull instancetype)
initWithPrimaryRGBColor:(nonnull SDLRGBColor *)primaryColor
secondaryRGBColor:(nonnull SDLRGBColor *)secondaryColor
backgroundRGBColor:(nonnull SDLRGBColor *)backgroundColor;
init(primaryRGBColor primaryColor: SDLRGBColor, secondaryRGBColor secondaryColor: SDLRGBColor, backgroundRGBColor backgroundColor: SDLRGBColor)
This must always be your primary brand color
This may be an accent or complimentary color to your primary brand color
he background color to be used on the template
An SDLTemplateColorScheme
Convenience init
- (nonnull instancetype)initWithPrimaryColor:(nonnull UIColor *)primaryColor
secondaryColor:(nonnull UIColor *)secondaryColor
backgroundColor:(nonnull UIColor *)backgroundColor;
init(primaryColor: UIColor, secondaryColor: UIColor, backgroundColor: UIColor)
This must always be your primary brand color
This may be an accent or complimentary color to your primary brand color
he background color to be used on the template
An SDLTemplateColorScheme
The “primary” color. This must always be your primary brand color. If the OEM only uses one color, this will be the color. It is recommended to the OEMs that the primaryColor should change the mediaClockTimer
bar and the highlight color of soft buttons.
@property (nonatomic, strong, nullable) SDLRGBColor *primaryColor;
var primaryColor: SDLRGBColor? { get set }
The “secondary” color. This may be an accent or complimentary color to your primary brand color. If the OEM uses this color, they must also use the primary color. It is recommended to the OEMs that the secondaryColor should change the background color of buttons, such as soft buttons.
@property (nonatomic, strong, nullable) SDLRGBColor *secondaryColor;
var secondaryColor: SDLRGBColor? { get set }
The background color to be used on the template. If the OEM does not support this parameter, assume on “dayColorScheme” that this will be a light color, and on “nightColorScheme” a dark color. You should do the same for your custom schemes.
@property (nonatomic, strong, nullable) SDLRGBColor *backgroundColor;
var backgroundColor: SDLRGBColor? { get set }