Undocumented
Undocumented
- (instancetype)initWithPrimaryRGBColor:(SDLRGBColor *)primaryColor secondaryRGBColor:(SDLRGBColor *)secondaryColor backgroundRGBColor:(SDLRGBColor *)backgroundColor;
init(primaryRGBColor primaryColor: SDLRGBColor, secondaryRGBColor secondaryColor: SDLRGBColor, backgroundRGBColor backgroundColor: SDLRGBColor)
Undocumented
- (instancetype)initWithPrimaryColor:(UIColor *)primaryColor secondaryColor:(UIColor *)secondaryColor backgroundColor:(UIColor *)backgroundColor;
init(primaryColor: UIColor, secondaryColor: UIColor, backgroundColor: UIColor)
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 (readwrite, strong, nonatomic, 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 (readwrite, strong, nonatomic, 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 (readwrite, strong, nonatomic, nullable) SDLRGBColor *backgroundColor;
var backgroundColor: SDLRGBColor? { get set }