| Modifier and Type | Field and Description |
|---|---|
static String |
KEY_ALLOW_APP_CONSUMERS |
static String |
KEY_HANDLED_RPCS |
static String |
KEY_MEDIA_SERVICE_MANIFEST |
static String |
KEY_NAVIGATION_SERVICE_MANIFEST |
static String |
KEY_RPC_SPEC_VERSION |
static String |
KEY_SERVICE_ICON |
static String |
KEY_SERVICE_NAME |
static String |
KEY_SERVICE_TYPE |
static String |
KEY_WEATHER_SERVICE_MANIFEST |
KEY_BULK_DATA, KEY_PROTECTED, store| Constructor and Description |
|---|
AppServiceManifest() |
AppServiceManifest(AppServiceType serviceType)
Constructor that takes in the mandatory parameters.
|
AppServiceManifest(Hashtable<String,Object> hash) |
AppServiceManifest(String serviceType)
Constructor that takes in the mandatory parameters.
|
| Modifier and Type | Method and Description |
|---|---|
Boolean |
getAllowAppConsumers()
If true, app service consumers beyond the IVI system will be able to access this service.
|
List<Integer> |
getHandledRpcs()
This field contains the FunctionID integer ID values for the RPCs that this service intends to handle correctly.
|
MediaServiceManifest |
getMediaServiceManifest()
The MediaServiceManifest
|
NavigationServiceManifest |
getNavigationServiceManifest()
The NavigationServiceManifest
|
SdlMsgVersion |
getRpcSpecVersion()
This is the max RPC Spec version the app service understands.
|
Image |
getServiceIcon()
The icon to be associated with this service Most likely the same as the appIcon.
|
String |
getServiceName()
Unique name of this service
|
String |
getServiceType()
The type of service that is to be offered by this app
|
WeatherServiceManifest |
getWeatherServiceManifest()
The WeatherServiceManifest
|
AppServiceManifest |
setAllowAppConsumers(Boolean allowAppConsumers)
If true, app service consumers beyond the IVI system will be able to access this service.
|
AppServiceManifest |
setHandledRpcs(List<Integer> handledRPCs)
This field contains the Function IDs for the RPCs that this service intends to handle correctly.
|
AppServiceManifest |
setHandledRpcsUsingFunctionIDs(List<FunctionID> handledRPCs)
This field contains the Function IDs for the RPCs that this service intends to handle correctly.
|
AppServiceManifest |
setMediaServiceManifest(MediaServiceManifest mediaServiceManifest)
The MediaServiceManifest
|
AppServiceManifest |
setNavigationServiceManifest(NavigationServiceManifest navigationServiceManifest)
The NavigationServiceManifest
|
AppServiceManifest |
setRpcSpecVersion(SdlMsgVersion rpcSpecVersion)
This is the max RPC Spec version the app service understands.
|
AppServiceManifest |
setServiceIcon(Image serviceIcon)
The icon to be associated with this service Most likely the same as the appIcon.
|
AppServiceManifest |
setServiceName(String serviceName)
Unique name of this service
|
AppServiceManifest |
setServiceType(String serviceType)
The type of service that is to be offered by this app
|
AppServiceManifest |
setWeatherServiceManifest(WeatherServiceManifest weatherServiceManifest)
The WeatherServiceManifest
|
clone, deserializeJSON, equals, format, formatObject, getBoolean, getBulkData, getDouble, getFloat, getInteger, getLong, getMessageTypeName, getObject, getStore, getStoreValue, getString, getValue, getValueForString, hashCode, hasKey, isPayloadProtected, serializeJSON, serializeJSON, setBulkData, setPayloadProtected, setValuepublic static final String KEY_SERVICE_NAME
public static final String KEY_SERVICE_TYPE
public static final String KEY_SERVICE_ICON
public static final String KEY_ALLOW_APP_CONSUMERS
public static final String KEY_RPC_SPEC_VERSION
public static final String KEY_HANDLED_RPCS
public static final String KEY_MEDIA_SERVICE_MANIFEST
public static final String KEY_WEATHER_SERVICE_MANIFEST
public static final String KEY_NAVIGATION_SERVICE_MANIFEST
public AppServiceManifest()
public AppServiceManifest(@NonNull
String serviceType)
serviceType - the type of service this is, use AppServiceTypeAppServiceTypepublic AppServiceManifest(@NonNull
AppServiceType serviceType)
serviceType - the type of service this isAppServiceTypepublic AppServiceManifest setServiceName(String serviceName)
serviceName - - the service namepublic String getServiceName()
public AppServiceManifest setServiceType(@NonNull String serviceType)
serviceType - - the serviceType use AppServiceTypeAppServiceTypepublic String getServiceType()
AppServiceTypepublic AppServiceManifest setServiceIcon(Image serviceIcon)
serviceIcon - - The Service Icon Imagepublic Image getServiceIcon()
public AppServiceManifest setAllowAppConsumers(Boolean allowAppConsumers)
allowAppConsumers - - booleanpublic Boolean getAllowAppConsumers()
public AppServiceManifest setRpcSpecVersion(SdlMsgVersion rpcSpecVersion)
rpcSpecVersion - - The rpcSpecVersionpublic SdlMsgVersion getRpcSpecVersion()
public AppServiceManifest setHandledRpcs(List<Integer> handledRPCs)
handledRPCs - - The List of Handled RPCs using their ID value from the FunctionID enumFunctionID,
setHandledRpcsUsingFunctionIDs(List)public AppServiceManifest setHandledRpcsUsingFunctionIDs(List<FunctionID> handledRPCs)
handledRPCs - - The List of Handled RPCs using the FunctionID enumsetHandledRpcs(List)public List<Integer> getHandledRpcs()
FunctionIDpublic AppServiceManifest setMediaServiceManifest(MediaServiceManifest mediaServiceManifest)
mediaServiceManifest - - The mediaServiceManifestpublic MediaServiceManifest getMediaServiceManifest()
public AppServiceManifest setWeatherServiceManifest(WeatherServiceManifest weatherServiceManifest)
weatherServiceManifest - - The weatherServiceManifestpublic WeatherServiceManifest getWeatherServiceManifest()
public AppServiceManifest setNavigationServiceManifest(NavigationServiceManifest navigationServiceManifest)
navigationServiceManifest - - The navigationServiceManifestpublic NavigationServiceManifest getNavigationServiceManifest()