Reads the current status value of specified remote control module (type). When subscribe is true, subscribes for specific remote control module data items. When subscribe is false, unsubscribes for specific remote control module data items. Once subscribed, the application will be notified by the onInteriorVehicleData RPC notification whenever new data is available for the module.
Undocumented
- (instancetype)initWithModuleType:(SDLModuleType)moduleType moduleId:(NSString *)moduleId;
init(moduleType: SDLModuleType, moduleId: String)
Undocumented
- (instancetype)initAndSubscribeToModuleType:(SDLModuleType)moduleType moduleId:(NSString *)moduleId;
init(andSubscribeToModuleType moduleType: SDLModuleType, moduleId: String)
Undocumented
- (instancetype)initAndUnsubscribeToModuleType:(SDLModuleType)moduleType moduleId:(NSString *)moduleId;
init(andUnsubscribeToModuleType moduleType: SDLModuleType, moduleId: String)
Undocumented
- (instancetype)initWithModuleType:(SDLModuleType)moduleType __deprecated_msg("Use initWithModuleType:moduleId: instead");
init(moduleType: SDLModuleType)
Undocumented
- (instancetype)initAndSubscribeToModuleType:(SDLModuleType)moduleType __deprecated_msg("Use initAndSubscribeToModuleType:moduleId: instead");
init(andSubscribeToModuleType moduleType: SDLModuleType)
Undocumented
- (instancetype)initAndUnsubscribeToModuleType:(SDLModuleType)moduleType __deprecated_msg("Use initAndUnsubscribeToModuleType:moduleId:");
init(andUnsubscribeToModuleType moduleType: SDLModuleType)
The type of a RC module to retrieve module data from the vehicle.
@property (readwrite, strong, nonatomic) SDLModuleType _Nonnull moduleType;
var moduleType: SDLModuleType { get set }
Id of a module, published by System Capability.
Optional
@property (readwrite, strong, nonatomic, nullable) NSString *moduleId;
var moduleId: String? { get set }
If subscribe is true, the head unit will register OnInteriorVehicleData notifications for the requested module (moduleId and moduleType). If subscribe is false, the head unit will unregister OnInteriorVehicleData notifications for the requested module (moduleId and moduleType). If subscribe is not included, the subscription status of the app for the requested module (moduleId and moduleType) will remain unchanged.
optional, Boolean, default Value = false
@property (readwrite, strong, nonatomic, nullable) NSNumber<SDLBool> *subscribe;
var subscribe: (NSNumber & SDLBool)? { get set }