This manifest contains all the information necessary for the service to be published, activated, and allow consumers to interact with it
Convenience init for serviceType.
- (nonnull instancetype)initWithAppServiceType:
(nonnull SDLAppServiceType)serviceType;
init(appServiceType serviceType: SDLAppServiceType)
The type of service that is to be offered by this app
A SDLAppServiceManifest object
Convenience init for a media service manifest.
- (nonnull instancetype)
initWithMediaServiceName:(nullable NSString *)serviceName
serviceIcon:(nullable SDLImage *)serviceIcon
allowAppConsumers:(BOOL)allowAppConsumers
maxRPCSpecVersion:(nullable SDLMsgVersion *)maxRPCSpecVersion
handledRPCs:(nullable NSArray<NSNumber<SDLInt> *> *)handledRPCs
mediaServiceManifest:
(nullable SDLMediaServiceManifest *)mediaServiceManifest;
convenience init(mediaServiceName serviceName: String?, serviceIcon: SDLImage?, allowAppConsumers: Bool, maxRPCSpecVersion: SDLMsgVersion?, handledRPCs: [NSNumber & SDLInt]?, mediaServiceManifest: SDLMediaServiceManifest?)
Unique name of this service
The file name of the icon to be associated with this service
If true, app service consumers beyond the IVI system will be able to access this service. If false, only the IVI system will be able consume the service. If not provided, it is assumed to be false
This is the max RPC Spec version the app service understands
This field contains the Function IDs for the RPCs that this service intends to handle correctly
A media service manifest
A SDLAppServiceManifest object
Convenience init for a weather service manifest.
- (nonnull instancetype)
initWithWeatherServiceName:(nullable NSString *)serviceName
serviceIcon:(nullable SDLImage *)serviceIcon
allowAppConsumers:(BOOL)allowAppConsumers
maxRPCSpecVersion:(nullable SDLMsgVersion *)maxRPCSpecVersion
handledRPCs:
(nullable NSArray<NSNumber<SDLInt> *> *)handledRPCs
weatherServiceManifest:
(nullable SDLWeatherServiceManifest *)weatherServiceManifest;
convenience init(weatherServiceName serviceName: String?, serviceIcon: SDLImage?, allowAppConsumers: Bool, maxRPCSpecVersion: SDLMsgVersion?, handledRPCs: [NSNumber & SDLInt]?, weatherServiceManifest: SDLWeatherServiceManifest?)
Unique name of this service
The file name of the icon to be associated with this service
If true, app service consumers beyond the IVI system will be able to access this service. If false, only the IVI system will be able consume the service. If not provided, it is assumed to be false
This is the max RPC Spec version the app service understands
This field contains the Function IDs for the RPCs that this service intends to handle correctly
A weather service manifest
A SDLAppServiceManifest object
Convenience init for a navigation service manifest.
- (nonnull instancetype)
initWithNavigationServiceName:(nullable NSString *)serviceName
serviceIcon:(nullable SDLImage *)serviceIcon
allowAppConsumers:(BOOL)allowAppConsumers
maxRPCSpecVersion:(nullable SDLMsgVersion *)maxRPCSpecVersion
handledRPCs:
(nullable NSArray<NSNumber<SDLInt> *> *)handledRPCs
navigationServiceManifest:
(nullable SDLNavigationServiceManifest *)navigationServiceManifest;
convenience init(navigationServiceName serviceName: String?, serviceIcon: SDLImage?, allowAppConsumers: Bool, maxRPCSpecVersion: SDLMsgVersion?, handledRPCs: [NSNumber & SDLInt]?, navigationServiceManifest: SDLNavigationServiceManifest?)
Unique name of this service
The file name of the icon to be associated with this service
If true, app service consumers beyond the IVI system will be able to access this service. If false, only the IVI system will be able consume the service. If not provided, it is assumed to be false
This is the max RPC Spec version the app service understands
This field contains the Function IDs for the RPCs that this service intends to handle correctly
A navigation service manifest
A SDLAppServiceManifest object
Convenience init for all parameters.
- (nonnull instancetype)
initWithServiceName:(nullable NSString *)serviceName
serviceType:(nonnull SDLAppServiceType)serviceType
serviceIcon:(nullable SDLImage *)serviceIcon
allowAppConsumers:(BOOL)allowAppConsumers
maxRPCSpecVersion:(nullable SDLMsgVersion *)maxRPCSpecVersion
handledRPCs:
(nullable NSArray<NSNumber<SDLInt> *> *)handledRPCs
mediaServiceManifest:
(nullable SDLMediaServiceManifest *)mediaServiceManifest
weatherServiceManifest:
(nullable SDLWeatherServiceManifest *)weatherServiceManifest
navigationServiceManifest:
(nullable SDLNavigationServiceManifest *)navigationServiceManifest;
convenience init(serviceName: String?, serviceType: SDLAppServiceType, serviceIcon: SDLImage?, allowAppConsumers: Bool, maxRPCSpecVersion: SDLMsgVersion?, handledRPCs: [NSNumber & SDLInt]?, mediaServiceManifest: SDLMediaServiceManifest?, weatherServiceManifest: SDLWeatherServiceManifest?, navigationServiceManifest: SDLNavigationServiceManifest?)
Unique name of this service
The type of service that is to be offered by this app
The file name of the icon to be associated with this service
If true, app service consumers beyond the IVI system will be able to access this service. If false, only the IVI system will be able consume the service. If not provided, it is assumed to be false
This is the max RPC Spec version the app service understands
This field contains the Function IDs for the RPCs that this service intends to handle correctly
A media service manifest
A weather service manifest
A navigation service manifest
A SDLAppServiceManifest object
Unique name of this service.
String, Optional
@property (nonatomic, strong, nullable) NSString *serviceName;
var serviceName: String? { get set }
The type of service that is to be offered by this app. See AppServiceType for known enum equivalent types. Parameter is a string to allow for new service types to be used by apps on older versions of SDL Core.
String, See SDLAppServiceType
, Required
@property (nonatomic, strong) NSString *_Nonnull serviceType;
var serviceType: String { get set }
The file name of the icon to be associated with this service. Most likely the same as the appIcon.
String, Optional
@property (nonatomic, strong, nullable) SDLImage *serviceIcon;
var serviceIcon: SDLImage? { get set }
If true, app service consumers beyond the IVI system will be able to access this service. If false, only the IVI system will be able consume the service. If not provided, it is assumed to be false.
Boolean, Optional, default = NO
@property (nonatomic, strong, nullable) NSNumber<SDLBool> *allowAppConsumers;
var allowAppConsumers: (NSNumber & SDLBool)? { get set }
This is the max RPC Spec version the app service understands. This is important during the RPC passthrough functionality. If not included, it is assumed the max version of the module is acceptable.
SDLMsgVersion, Optional
@property (nonatomic, strong, nullable) SDLMsgVersion *maxRPCSpecVersion;
var maxRPCSpecVersion: SDLMsgVersion? { get set }
This field contains the Function IDs for the RPCs that this service intends to handle correctly. This means the service will provide meaningful responses. See FunctionID for enum equivalent values. This parameter is an integer to allow for new function IDs to be used by apps on older versions of SDL Core.
Array of Integers, See SDLFunctionID
, Optional
@property (nonatomic, strong, nullable) NSArray<NSNumber *> *handledRPCs;
var handledRPCs: [NSNumber]? { get set }
A media service manifest.
SDLMediaServiceManifest, Optional
@property (nonatomic, strong, nullable) SDLMediaServiceManifest *mediaServiceManifest;
var mediaServiceManifest: SDLMediaServiceManifest? { get set }
A weather service manifest.
SDLWeatherServiceManifest, Optional
@property (nonatomic, strong, nullable) SDLWeatherServiceManifest *weatherServiceManifest;
var weatherServiceManifest: SDLWeatherServiceManifest? { get set }
A navigation service manifest.
SDLNavigationServiceManifest, Optional
@property (nonatomic, strong, nullable) SDLNavigationServiceManifest *navigationServiceManifest;
var navigationServiceManifest: SDLNavigationServiceManifest? { get set }