Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Internet Explorer alert
This browser is not recommended for use with smartdevicelink.com, and may not function properly. Upgrade to a different browser to guarantee support of all features.
close alert
To Top Created with Sketch. To Top
To Bottom Created with Sketch. To Bottom
Android Documentation
DynamicUpdateCapabilities

Class DynamicUpdateCapabilities

Hierarchy

java.lang.Object
     com.smartdevicelink.proxy.RPCStruct

Package
com.smartdevicelink.proxy.rpc

Overview

Parameter List

Param Name Type Description Required Version Available
supportedDynamicImageFieldNames List An array of ImageFieldName values for which the system supports sending OnFileUpdateNotifications. If you send an Image struct for that image field with a name without having uploaded the image data using PutFile that matches that name, the system will request that you upload the data with PutFile at a later point when the HMI needs it. The HMI will then display the image in the appropriate field. If not sent, assume false. N
supportsDynamicSubMenus Boolean If true, the head unit supports dynamic sub-menus by sending OnUpdateSubMenuNotifications. If true, you should not send AddCommands that attach to a parentID for anAddSubMenu until OnUpdateSubMenu is received with the menuID. At that point, you should send all AddCommands with a parentID that match the menuID. If not set, assume false. N

Fields

KEY_SUPPORTED_DYNAMIC_IMAGE_FIELD_NAMES

public static final java.lang.String KEY_SUPPORTED_DYNAMIC_IMAGE_FIELD_NAMES
Constant Value
"supportedDynamicImageFieldNames"

KEY_SUPPORTS_DYNAMIC_SUB_MENUS

public static final java.lang.String KEY_SUPPORTS_DYNAMIC_SUB_MENUS
Constant Value
"supportsDynamicSubMenus"

Inherited Fields

From Class Fields
com.smartdevicelink.proxy.RPCStruct KEY_BULK_DATA, KEY_PROTECTED, store

Constructors

DynamicUpdateCapabilities()

Constructs a new DynamicUpdateCapabilities object

public DynamicUpdateCapabilities()

DynamicUpdateCapabilities( java.util.Hashtable<java.lang.String, java.lang.Object> hash )

Constructs a new DynamicUpdateCapabilities object indicated by the Hashtable parameter

public DynamicUpdateCapabilities(java.util.Hashtable<java.lang.String, java.lang.Object> hash)

Constructor Parameters

hash
The Hashtable to use

Methods

setSupportedDynamicImageFieldNames( java.util.List<com.smartdevicelink.proxy.rpc.enums.ImageFieldName> supportedDynamicImageFieldNames )

Sets the supportedDynamicImageFieldNames.

public com.smartdevicelink.proxy.rpc.DynamicUpdateCapabilities setSupportedDynamicImageFieldNames(java.util.List<com.smartdevicelink.proxy.rpc.enums.ImageFieldName> supportedDynamicImageFieldNames)

Method Parameters

supportedDynamicImageFieldNames
An array of ImageFieldName values for which the system supports sending OnFileUpdate notifications. If you send an Image struct for that image field with a name without having uploaded the image data using PutFile that matches that name, the system will request that you upload the data with PutFile at a later point when the HMI needs it. The HMI will then display the image in the appropriate field. If not sent, assume false.

getSupportedDynamicImageFieldNames()

Gets the supportedDynamicImageFieldNames.

public java.util.List getSupportedDynamicImageFieldNames()

setSupportsDynamicSubMenus( Boolean supportsDynamicSubMenus )

Sets the supportsDynamicSubMenus.

public com.smartdevicelink.proxy.rpc.DynamicUpdateCapabilities setSupportsDynamicSubMenus(Boolean supportsDynamicSubMenus)

Method Parameters

supportsDynamicSubMenus
If true, the head unit supports dynamic sub-menus by sending OnUpdateSubMenu notifications. If true, you should not send AddCommands that attach to a parentID for an AddSubMenu until OnUpdateSubMenu is received with the menuID. At that point, you should send all AddCommands with a parentID that match the menuID. If not set, assume false.

getSupportsDynamicSubMenus()

Gets the supportsDynamicSubMenus.

public java.lang.Boolean getSupportsDynamicSubMenus()

Inherited Methods

From Class Methods
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
View on GitHub.com
Previous Section Next Section