public class RegisterAppInterfaceResponse extends RPCResponse
| Modifier and Type | Field and Description |
|---|---|
static String |
KEY_AUDIO_PASS_THRU_CAPABILITIES |
static String |
KEY_BUTTON_CAPABILITIES
Deprecated.
|
static String |
KEY_DISPLAY_CAPABILITIES
Deprecated.
|
static String |
KEY_HMI_CAPABILITIES |
static String |
KEY_HMI_DISPLAY_LANGUAGE |
static String |
KEY_HMI_ZONE_CAPABILITIES |
static String |
KEY_ICON_RESUMED |
static String |
KEY_LANGUAGE |
static String |
KEY_PCM_STREAM_CAPABILITIES |
static String |
KEY_PRERECORDED_SPEECH |
static String |
KEY_PRESET_BANK_CAPABILITIES
Deprecated.
|
static String |
KEY_SDL_MSG_VERSION |
static String |
KEY_SDL_VERSION |
static String |
KEY_SOFT_BUTTON_CAPABILITIES
Deprecated.
|
static String |
KEY_SPEECH_CAPABILITIES |
static String |
KEY_SUPPORTED_DIAG_MODES |
static String |
KEY_SYSTEM_SOFTWARE_VERSION
Deprecated.
|
static String |
KEY_VEHICLE_TYPE
Deprecated.
|
static String |
KEY_VR_CAPABILITIES |
KEY_INFO, KEY_RESULT_CODE, KEY_SUCCESSfunction, KEY_CORRELATION_ID, KEY_FUNCTION_NAME, KEY_NOTIFICATION, KEY_PARAMETERS, KEY_REQUEST, KEY_RESPONSE, messageType, parametersKEY_BULK_DATA, KEY_PROTECTED, store| Constructor and Description |
|---|
RegisterAppInterfaceResponse()
Constructs a new RegisterAppInterfaceResponse object
|
RegisterAppInterfaceResponse(Boolean success,
Result resultCode)
Constructs a new RegisterAppInterfaceResponse object
|
RegisterAppInterfaceResponse(Hashtable<String,Object> hash)
Constructs a new RegisterAppInterfaceResponse object indicated by the Hashtable
parameter
|
| Modifier and Type | Method and Description |
|---|---|
void |
format(Version rpcVersion,
boolean formatParams)
This method should clean the the RPC to make sure it is compliant with the spec.
|
List<AudioPassThruCapabilities> |
getAudioPassThruCapabilities()
Gets AudioPassThruCapabilities set when application interface is registered.
|
List<ButtonCapabilities> |
getButtonCapabilities()
Deprecated.
|
DisplayCapabilities |
getDisplayCapabilities()
Deprecated.
|
HMICapabilities |
getHmiCapabilities() |
Language |
getHmiDisplayLanguage()
Gets an enumeration indicating what language the application intends to
use for user interaction ( Display)
|
List<HmiZoneCapabilities> |
getHmiZoneCapabilities()
Gets hmiZoneCapabilities set when application interface is registered.
|
Boolean |
getIconResumed()
Tells developer whether or not their app icon has been resumed on core.
|
Language |
getLanguage()
Gets a Language enumeration indicating what language the application
intends to use for user interaction (Display, TTS and VR)
|
AudioPassThruCapabilities |
getPcmStreamingCapabilities()
Gets pcmStreamingCapabilities set when application interface is registered.
|
List<PrerecordedSpeech> |
getPrerecordedSpeech() |
PresetBankCapabilities |
getPresetBankCapabilities()
Deprecated.
|
SdlMsgVersion |
getSdlMsgVersion()
Gets the version of the SDL® SmartDeviceLink interface
|
String |
getSdlVersion() |
List<SoftButtonCapabilities> |
getSoftButtonCapabilities()
Deprecated.
|
List<SpeechCapabilities> |
getSpeechCapabilities()
Gets speechCapabilities set when application interface is registered.
|
List<Integer> |
getSupportedDiagModes() |
String |
getSystemSoftwareVersion()
Deprecated.
in SmartDeviceLink 7.1.0
|
VehicleType |
getVehicleType()
Deprecated.
in SmartDeviceLink 7.1.0
|
List<VrCapabilities> |
getVrCapabilities()
Gets vrCapabilities set when application interface is registered.
|
RegisterAppInterfaceResponse |
setAudioPassThruCapabilities(List<AudioPassThruCapabilities> audioPassThruCapabilities)
Sets AudioPassThruCapabilities
|
RegisterAppInterfaceResponse |
setButtonCapabilities(List<ButtonCapabilities> buttonCapabilities)
Deprecated.
|
RegisterAppInterfaceResponse |
setDisplayCapabilities(DisplayCapabilities displayCapabilities)
Deprecated.
|
RegisterAppInterfaceResponse |
setHmiCapabilities(HMICapabilities hmiCapabilities) |
RegisterAppInterfaceResponse |
setHmiDisplayLanguage(Language hmiDisplayLanguage)
Sets an enumeration indicating what language the application intends to
use for user interaction ( Display)
|
RegisterAppInterfaceResponse |
setHmiZoneCapabilities(List<HmiZoneCapabilities> hmiZoneCapabilities)
Sets hmiZoneCapabilities
|
RegisterAppInterfaceResponse |
setIconResumed(Boolean iconResumed)
Sets Icon Resumed Boolean
|
RegisterAppInterfaceResponse |
setLanguage(Language language)
Sets an enumeration indicating what language the application intends to
use for user interaction (Display, TTS and VR)
|
RegisterAppInterfaceResponse |
setPcmStreamingCapabilities(AudioPassThruCapabilities pcmStreamingCapabilities)
Sets pcmStreamingCapabilities
|
RegisterAppInterfaceResponse |
setPrerecordedSpeech(List<PrerecordedSpeech> prerecordedSpeech) |
RegisterAppInterfaceResponse |
setPresetBankCapabilities(PresetBankCapabilities presetBankCapabilities)
Deprecated.
|
RegisterAppInterfaceResponse |
setSdlMsgVersion(SdlMsgVersion sdlMsgVersion)
Sets the version of the SDL® SmartDeviceLink interface
|
RegisterAppInterfaceResponse |
setSdlVersion(String sdlVersion) |
RegisterAppInterfaceResponse |
setSoftButtonCapabilities(List<SoftButtonCapabilities> softButtonCapabilities)
Deprecated.
|
RegisterAppInterfaceResponse |
setSpeechCapabilities(List<SpeechCapabilities> speechCapabilities)
Sets speechCapabilities
|
RegisterAppInterfaceResponse |
setSupportedDiagModes(List<Integer> supportedDiagModes) |
RegisterAppInterfaceResponse |
setSystemSoftwareVersion(String systemSoftwareVersion)
Deprecated.
in SmartDeviceLink 7.1.0
|
RegisterAppInterfaceResponse |
setVehicleType(VehicleType vehicleType)
Deprecated.
in SmartDeviceLink 7.1.0
|
RegisterAppInterfaceResponse |
setVrCapabilities(List<VrCapabilities> vrCapabilities)
Sets VrCapabilities
|
getCorrelationID, getInfo, getResultCode, getSuccess, setCorrelationID, setInfo, setResultCode, setSuccessgetBoolean, getDouble, getFloat, getFunctionID, getFunctionName, getInteger, getLong, getMessageType, getObject, getParameters, getString, setFunctionName, setParametersclone, deserializeJSON, equals, formatObject, getBulkData, getMessageTypeName, getStore, getStoreValue, getValue, getValueForString, hashCode, hasKey, isPayloadProtected, serializeJSON, serializeJSON, setBulkData, setPayloadProtected, setValue@Deprecated public static final String KEY_VEHICLE_TYPE
public static final String KEY_SPEECH_CAPABILITIES
public static final String KEY_VR_CAPABILITIES
public static final String KEY_AUDIO_PASS_THRU_CAPABILITIES
public static final String KEY_HMI_ZONE_CAPABILITIES
public static final String KEY_PRERECORDED_SPEECH
public static final String KEY_SUPPORTED_DIAG_MODES
public static final String KEY_SDL_MSG_VERSION
public static final String KEY_LANGUAGE
@Deprecated public static final String KEY_BUTTON_CAPABILITIES
@Deprecated public static final String KEY_DISPLAY_CAPABILITIES
public static final String KEY_HMI_DISPLAY_LANGUAGE
@Deprecated public static final String KEY_SOFT_BUTTON_CAPABILITIES
@Deprecated public static final String KEY_PRESET_BANK_CAPABILITIES
public static final String KEY_HMI_CAPABILITIES
public static final String KEY_SDL_VERSION
@Deprecated public static final String KEY_SYSTEM_SOFTWARE_VERSION
public static final String KEY_ICON_RESUMED
public static final String KEY_PCM_STREAM_CAPABILITIES
public RegisterAppInterfaceResponse()
public RegisterAppInterfaceResponse(Hashtable<String,Object> hash)
hash - The Hashtable to usepublic void format(Version rpcVersion, boolean formatParams)
RPCStructpublic SdlMsgVersion getSdlMsgVersion()
public RegisterAppInterfaceResponse setSdlMsgVersion(SdlMsgVersion sdlMsgVersion)
sdlMsgVersion - a SdlMsgVersion object representing version of the SDL®
SmartDeviceLink interface
Notes: To be compatible, app msg major version number
must be less than or equal to SDL® major version number.
If msg versions are incompatible, app has 20 seconds to
attempt successful RegisterAppInterface (w.r.t. msg version)
on underlying protocol session, else will be terminated. Major
version number is a compatibility declaration. Minor version
number indicates minor functional variations (e.g. features,
capabilities, bug fixes) when sent from SDL® to app (in
RegisterAppInterface response). However, the minor version
number sent from the app to SDL® (in RegisterAppInterface
request) is ignored by SDL®public Language getLanguage()
public RegisterAppInterfaceResponse setLanguage(Language language)
language - a Language Enumerationpublic Language getHmiDisplayLanguage()
public RegisterAppInterfaceResponse setHmiDisplayLanguage(Language hmiDisplayLanguage)
hmiDisplayLanguage - @Deprecated public DisplayCapabilities getDisplayCapabilities()
@Deprecated public RegisterAppInterfaceResponse setDisplayCapabilities(DisplayCapabilities displayCapabilities)
displayCapabilities - @Deprecated public List<ButtonCapabilities> getButtonCapabilities()
@Deprecated public RegisterAppInterfaceResponse setButtonCapabilities(List<ButtonCapabilities> buttonCapabilities)
buttonCapabilities - @Deprecated public List<SoftButtonCapabilities> getSoftButtonCapabilities()
@Deprecated public RegisterAppInterfaceResponse setSoftButtonCapabilities(List<SoftButtonCapabilities> softButtonCapabilities)
softButtonCapabilities - @Deprecated public PresetBankCapabilities getPresetBankCapabilities()
@Deprecated public RegisterAppInterfaceResponse setPresetBankCapabilities(PresetBankCapabilities presetBankCapabilities)
presetBankCapabilities - public List<HmiZoneCapabilities> getHmiZoneCapabilities()
public RegisterAppInterfaceResponse setHmiZoneCapabilities(List<HmiZoneCapabilities> hmiZoneCapabilities)
hmiZoneCapabilities - public List<SpeechCapabilities> getSpeechCapabilities()
public RegisterAppInterfaceResponse setSpeechCapabilities(List<SpeechCapabilities> speechCapabilities)
speechCapabilities - public List<PrerecordedSpeech> getPrerecordedSpeech()
public RegisterAppInterfaceResponse setPrerecordedSpeech(List<PrerecordedSpeech> prerecordedSpeech)
public List<VrCapabilities> getVrCapabilities()
public RegisterAppInterfaceResponse setVrCapabilities(List<VrCapabilities> vrCapabilities)
vrCapabilities - @Deprecated public VehicleType getVehicleType()
@Deprecated public RegisterAppInterfaceResponse setVehicleType(VehicleType vehicleType)
vehicleType - public List<AudioPassThruCapabilities> getAudioPassThruCapabilities()
public RegisterAppInterfaceResponse setAudioPassThruCapabilities(List<AudioPassThruCapabilities> audioPassThruCapabilities)
audioPassThruCapabilities - public AudioPassThruCapabilities getPcmStreamingCapabilities()
public RegisterAppInterfaceResponse setPcmStreamingCapabilities(AudioPassThruCapabilities pcmStreamingCapabilities)
pcmStreamingCapabilities - public RegisterAppInterfaceResponse setSupportedDiagModes(List<Integer> supportedDiagModes)
public RegisterAppInterfaceResponse setHmiCapabilities(HMICapabilities hmiCapabilities)
public HMICapabilities getHmiCapabilities()
public RegisterAppInterfaceResponse setSdlVersion(String sdlVersion)
public String getSdlVersion()
@Deprecated public RegisterAppInterfaceResponse setSystemSoftwareVersion(String systemSoftwareVersion)
systemSoftwareVersion - the version of software on the connected device@Deprecated public String getSystemSoftwareVersion()
public RegisterAppInterfaceResponse setIconResumed(Boolean iconResumed)
iconResumed - - if param not included, set to falsepublic Boolean getIconResumed()