java.lang.Object
com.smartdevicelink.proxy.RPCStruct
com.smartdevicelink.proxy.RPCMessage
com.smartdevicelink.proxy.RPCRequest
HMILevel is not defined before registering
Parameter List
Name | Type | Description | Reg. | Notes | Version |
---|---|---|---|---|---|
MsgVersion | MsgVersion | Declares what version of the SDL interface the application expects to use with SDL | Y | 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. |
SmartDeviceLink 1.0 |
appName | String | The mobile application's name. This name is displayed in the SDL Mobile Applications menu. It also serves as the unique identifier of the application for SDL . | Y | Must be 1-100 characters in length. Must consist of following characters: May not be the same (by case insensitive comparison) as the name or any synonym of any currently registered application. |
SmartDeviceLink 1.0 |
ttsName | TTSChunk | TTS string for VR recognition of the mobile application name. Meant to overcome any failing on speech engine in properly pronouncing / understanding app name. | N | Size must be 1-100 Needs to be unique over all applications. May not be empty. May not start with a new line character. |
SmartDeviceLink 2.0 |
ngnMediaScreenAppName | String | Provides an abbreviated version of the app name (if necessary) that will be displayed on the NGN media screen. | N | - Must be 1-5 characters. If not provided, value will be derived from appName truncated to 5 characters. | SmartDeviceLink 1.0 |
vrSynonyms | String | An array of 1-100 elements, each element containing a voice-recognition synonym by which this app can be called when being addressed in the mobile applications menu. | N | Each vr synonym is limited to 40 characters, and there can be 1-100 synonyms in array. May not be the same (by case insensitive comparison) as the name or any synonym of any currently-registered application. | SmartDeviceLink 1.0 |
isMediaApplication | Boolean | Indicates that the application will be streaming audio to SDL (via A2DP) that is audible outside of the BT media source. | Y | SmartDeviceLink 1.0 | |
languageDesired | Language | An enumeration indicating what language the application intends to use for user interaction (Display, TTS and VR). | Y | If the language indicated does not match the active language on SDL, the interface registration will be rejected.If the user changes the SDL language while this interface registration is active, the interface registration will be terminated. | SmartDeviceLink 1.0 |
hmiDisplayLanguageDesired | Language | An enumeration indicating what language the application intends to use for user interaction ( Display). | Y | SmartDeviceLink 2.0 | |
appHMIType | AppHMIType | List of all applicable app types stating which classifications to be given to the app.e.g. for platforms , like GEN2, this will determine which "corner(s)" the app can populate | N | Array Minsize: 1; Array Maxsize: 100 | SmartDeviceLink 2.0 |
hashID | String | ID used to uniquely identify current state of all app data that can persist through connection cycles (e.g. ignition cycles).This registered data (commands, submenus, choice sets, etc.) can be reestablished without needing to explicitly reregister each piece. If omitted, then the previous state of an app's commands, etc. will not be restored.When sending hashID, all RegisterAppInterface parameters should still be provided (e.g. ttsName, etc.). | N | maxLength:100 | SmartDeviceLink 2.3.1 |
appInfo | AppInfo | See AppInfo. | N | @since SmartDeviceLink 4.2.0 | |
deviceInfo | DeviceInfo | Various information about connecting device. | N | SmartDeviceLink 2.3.1 | |
appID | String | ID used to validate app with policy table entries | Y | maxLength: 100 | SmartDeviceLink 2.0 |
fullAppID | String | ID used to validate app with policy table entries | N | Maxlength: 100 | SmartDeviceLink 5.0 |
hmiCapabilities | HMICapabilities | Specifies the HMI capabilities. | N | SmartDeviceLink 2.3.2.2 | |
sdlVersion | String | The SmartDeviceLink version. | N | Maxlength: 100 | SmartDeviceLink 2.3.2.2 |
systemSoftwareVersion | String | The software version of the system that implements the SmartDeviceLink core. | N | Maxlength: 100 | SmartDeviceLink 2.3.2.2 |
dayColorScheme | TemplateColorScheme | The color scheme that is used for day. | N | SmartDeviceLink 5.0 | |
nightColorScheme | TemplateColorScheme | The color scheme that is used for night. | N | SmartDeviceLink 5.0 |
public static final java.lang.String KEY_TTS_NAME
public static final java.lang.String KEY_HMI_DISPLAY_LANGUAGE_DESIRED
public static final java.lang.String KEY_APP_HMI_TYPE
public static final java.lang.String KEY_APP_ID
public static final java.lang.String KEY_FULL_APP_ID
public static final java.lang.String KEY_LANGUAGE_DESIRED
public static final java.lang.String KEY_DEVICE_INFO
public static final java.lang.String KEY_APP_NAME
public static final java.lang.String KEY_NGN_MEDIA_SCREEN_APP_NAME
public static final java.lang.String KEY_IS_MEDIA_APPLICATION
public static final java.lang.String KEY_VR_SYNONYMS
public static final java.lang.String KEY_SDL_MSG_VERSION
public static final java.lang.String KEY_HASH_ID
public static final java.lang.String KEY_APP_INFO
public static final java.lang.String KEY_DAY_COLOR_SCHEME
public static final java.lang.String KEY_NIGHT_COLOR_SCHEME
Constructs a new RegisterAppInterface object
public RegisterAppInterface()
Constructs a new RegisterAppInterface object indicated by the Hashtable parameter
public RegisterAppInterface(java.util.Hashtable<java.lang.String, java.lang.Object> hash)
Constructs a new RegisterAppInterface object
public RegisterAppInterface(SdlMsgVersion syncMsgVersion,String appName,Boolean isMediaApplication,Language languageDesired,Language hmiDisplayLanguageDesired,String fullAppID)
Gets the version of the SDL® SmartDeviceLink interface
public com.smartdevicelink.proxy.rpc.SdlMsgVersion getSdlMsgVersion()
Sets the version of the SDL® SmartDeviceLink interface
public com.smartdevicelink.proxy.rpc.RegisterAppInterface setSdlMsgVersion(SdlMsgVersion sdlMsgVersion)
public com.smartdevicelink.proxy.rpc.DeviceInfo getDeviceInfo()
public com.smartdevicelink.proxy.rpc.RegisterAppInterface setDeviceInfo(DeviceInfo deviceInfo)
Gets Mobile Application's Name
public java.lang.String getAppName()
Sets Mobile Application's Name, This name is displayed in the SDL® Mobile Applications menu. It also serves as the unique identifier of the application for SmartDeviceLink
public com.smartdevicelink.proxy.rpc.RegisterAppInterface setAppName(String appName)
Gets TTS string for VR recognition of the mobile application name
public java.util.List getTtsName()
public com.smartdevicelink.proxy.rpc.RegisterAppInterface setTtsName(java.util.List<com.smartdevicelink.proxy.rpc.TTSChunk> ttsName)
Gets a String representing an abbreviated version of the mobile application's name (if necessary) that will be displayed on the NGN media screen
public java.lang.String getNgnMediaScreenAppName()
Sets a String representing an abbreviated version of the mobile application's name (if necessary) that will be displayed on the NGN media screen
public com.smartdevicelink.proxy.rpc.RegisterAppInterface setNgnMediaScreenAppName(String ngnMediaScreenAppName)
Gets the List
public java.util.List getVrSynonyms()
Sets a vrSynonyms representing the an array of 1-100 elements, each element containing a voice-recognition synonym
public com.smartdevicelink.proxy.rpc.RegisterAppInterface setVrSynonyms(java.util.List<java.lang.String> vrSynonyms)
Gets a Boolean representing MediaApplication
public java.lang.Boolean getIsMediaApplication()
Sets a Boolean to indicate a mobile application that is a media application or not
public com.smartdevicelink.proxy.rpc.RegisterAppInterface setIsMediaApplication(Boolean isMediaApplication)
Gets a Language enumeration indicating what language the application intends to use for user interaction (Display, TTS and VR)
public com.smartdevicelink.proxy.rpc.enums.Language getLanguageDesired()
Sets an enumeration indicating what language the application intends to use for user interaction (Display, TTS and VR)
public com.smartdevicelink.proxy.rpc.RegisterAppInterface setLanguageDesired(Language languageDesired)
Gets an enumeration indicating what language the application intends to use for user interaction ( Display)
public com.smartdevicelink.proxy.rpc.enums.Language getHmiDisplayLanguageDesired()
Sets an enumeration indicating what language the application intends to use for user interaction ( Display)
public com.smartdevicelink.proxy.rpc.RegisterAppInterface setHmiDisplayLanguageDesired(Language hmiDisplayLanguageDesired)
Gets a list of all applicable app types stating which classifications to be given to the app.e.g. for platforms , like GEN2, this will determine which "corner(s)" the app can populate
public java.util.List getAppHMIType()
Sets a a list of all applicable app types stating which classifications to be given to the app. e.g. for platforms , like GEN2, this will determine which "corner(s)" the app can populate
public com.smartdevicelink.proxy.rpc.RegisterAppInterface setAppHMIType(java.util.List<com.smartdevicelink.proxy.rpc.enums.AppHMIType> appHMIType)
public java.lang.String getHashID()
public com.smartdevicelink.proxy.rpc.RegisterAppInterface setHashID(String hashID)
Gets the appInfo.
public com.smartdevicelink.proxy.rpc.AppInfo getAppInfo()
Sets the appInfo.
public com.smartdevicelink.proxy.rpc.RegisterAppInterface setAppInfo(AppInfo appInfo)
Gets the unique ID, which an app will be given when approved
public java.lang.String getAppID()
Sets a unique ID, which an app will be given when approved
public com.smartdevicelink.proxy.rpc.RegisterAppInterface setAppID(String appID)
Gets the unique ID, which an app will be given when approved
public java.lang.String getFullAppID()
Sets a unique ID, which an app will be given when approved
Note: this will automatically parse the fullAppID into the smaller appId and set the appId value as well
public com.smartdevicelink.proxy.rpc.RegisterAppInterface setFullAppID(String fullAppID)
public void format(Version rpcVersion,boolean formatParams)
Gets the color scheme that is currently used for day
public com.smartdevicelink.proxy.rpc.TemplateColorScheme getDayColorScheme()
Sets the color scheme that is intended to be used for day
public com.smartdevicelink.proxy.rpc.RegisterAppInterface setDayColorScheme(TemplateColorScheme templateColorScheme)
Gets the color scheme that is currently used for night
public com.smartdevicelink.proxy.rpc.TemplateColorScheme getNightColorScheme()
Sets the color scheme that is intended to be used for night
public com.smartdevicelink.proxy.rpc.RegisterAppInterface setNightColorScheme(TemplateColorScheme templateColorScheme)
From Class | Methods |
---|---|
com.smartdevicelink.proxy.RPCRequest | getCorrelationID, setCorrelationID, setOnRPCResponseListener, getOnRPCResponseListener |
com.smartdevicelink.proxy.RPCMessage | getFunctionID, getFunctionName, setFunctionName, getMessageType, setParameters, getParameters, getObject, getString, getInteger, getFloat, getDouble, getBoolean, getLong |
com.smartdevicelink.proxy.RPCStruct | getStoreValue, getStore, deserializeJSON, serializeJSON, serializeJSON, format, getBulkData, setBulkData, setPayloadProtected, isPayloadProtected, getMessageTypeName, hasKey, setValue, getValue, getObject, formatObject, getValueForString, getString, getInteger, getDouble, getFloat, getBoolean, getLong, clone, equals, hashCode |
java.lang.Object | getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize |