Current light control capabilities.
@since RPC 5.0
Constructs a newly allocated SDLLightControlCapabilities object with given parameters
- (nonnull instancetype)initWithModuleName:(nonnull NSString *)moduleName
moduleInfo:(nullable SDLModuleInfo *)moduleInfo
supportedLights:
(nonnull NSArray<SDLLightCapabilities *> *)
supportedLights;
init(moduleName: String, moduleInfo: SDLModuleInfo?, supportedLights: [SDLLightCapabilities])
friendly name of the light control module
information about a RC module, including its id
array of available LightCapabilities
An instance of the SDLLightControlCapabilities class
@abstract The short friendly name of the light control module. It should not be used to identify a module by mobile application.
Required, Max String length 100 chars
@property (nonatomic, strong) NSString *_Nonnull moduleName;
var moduleName: String { get set }
@abstract An array of available LightCapabilities that are controllable.
Required, NSArray of type SDLLightCapabilities minsize=“1” maxsize=“100”
@property (nonatomic, strong) NSArray<SDLLightCapabilities *> *_Nonnull supportedLights;
var supportedLights: [SDLLightCapabilities] { get set }
Information about a RC module, including its id.
Optional
@property (nonatomic, strong, nullable) SDLModuleInfo *moduleInfo;
var moduleInfo: SDLModuleInfo? { get set }