Current Light capabilities.
@since RPC 5.0
Constructs a newly allocated SDLLightCapabilities object with the name of the light or group of lights
- (nonnull instancetype)initWithName:(nonnull SDLLightName)name;
init(name: SDLLightName)
The name of a light or a group of lights
An instance of the SDLLightCapabilities class
Constructs a newly allocated SDLLightCapabilities object with given parameters
- (nonnull instancetype)initWithName:(nonnull SDLLightName)name
densityAvailable:(BOOL)densityAvailable
colorAvailable:(BOOL)colorAvailable
statusAvailable:(BOOL)statusAvailable;
init(name: SDLLightName, densityAvailable: Bool, colorAvailable: Bool, statusAvailable: Bool)
The name of a light or a group of lights
light’s density can be set remotely
Light’s color can be set remotely by using the RGB color space
whether status is available
An instance of the SDLLightCapabilities class
@abstract The name of a light or a group of lights
Required, SDLLightName
@property (nonatomic, strong) SDLLightName _Nonnull name;
var name: SDLLightName { get set }
@abstract Indicates if the light’s density can be set remotely (similar to a dimmer).
Optional, Boolean
@property (nonatomic, strong, nullable) NSNumber<SDLBool> *densityAvailable;
var densityAvailable: (NSNumber & SDLBool)? { get set }
@abstract Indicates if the light’s color can be set remotely by using the RGB color space.
Optional, Boolean
@property (nonatomic, strong, nullable) NSNumber<SDLBool> *colorAvailable;
var colorAvailable: (NSNumber & SDLBool)? { get set }
@abstract Indicates if the status (ON/OFF) can be set remotely. App shall not use read-only values (RAMP_UP/RAMP_DOWN/UNKNOWN/INVALID) in a setInteriorVehicleData request.
Optional, Boolean
@property (nonatomic, strong, nullable) NSNumber<SDLBool> *statusAvailable;
var statusAvailable: (NSNumber & SDLBool)? { get set }