java.lang.Object
com.smartdevicelink.proxy.RPCStruct
Parameter List
Name | Type | Description | SmartDeviceLink Ver. Available |
---|---|---|---|
@property-deprecated |
SmartDeviceLink 1.0 | ||
displayName | String | The name of the display | SmartDeviceLink 5.0 |
textField | TextField[] | An array of TextField structures, each of which describes a field in the HMI which the application can write to using operations such as Show, SetMediaClockTimer, etc. This array of TextField structures identify all the text fields to which the application can write on the current display (identified by DisplayType ). | SmartDeviceLink 1.0 |
mediaClockFormats | MediaClockFormat[] | An array of MediaClockFormat elements, defining the valid string formats used in specifying the contents of the media clock field | SmartDeviceLink 1.0 |
graphicSupported | Boolean | The display's persistent screen supports referencing a static or dynamic image. | SmartDeviceLink 2.0 |
public static final java.lang.String KEY_DISPLAY_TYPE
public static final java.lang.String KEY_DISPLAY_NAME
public static final java.lang.String KEY_MEDIA_CLOCK_FORMATS
public static final java.lang.String KEY_TEXT_FIELDS
public static final java.lang.String KEY_IMAGE_FIELDS
public static final java.lang.String KEY_GRAPHIC_SUPPORTED
public static final java.lang.String KEY_SCREEN_PARAMS
public static final java.lang.String KEY_TEMPLATES_AVAILABLE
public static final java.lang.String KEY_NUM_CUSTOM_PRESETS_AVAILABLE
From Class | Fields |
---|---|
com.smartdevicelink.proxy.RPCStruct | KEY_BULK_DATA, KEY_PROTECTED, store |
Constructs a newly allocated DisplayCapabilities object
public DisplayCapabilities()
Constructs a newly allocated DisplayCapabilities object indicated by the Hashtable parameter
public DisplayCapabilities(java.util.Hashtable<java.lang.String, java.lang.Object> hash)
Constructs a newly allocated DisplayCapabilities object
public DisplayCapabilities(DisplayType displayType,java.util.List<com.smartdevicelink.proxy.rpc.TextField> textFields,java.util.List<com.smartdevicelink.proxy.rpc.enums.MediaClockFormat> mediaClockFormats,Boolean graphicSupported)
Constructs a newly allocated DisplayCapabilities object
public DisplayCapabilities(String displayName,java.util.List<com.smartdevicelink.proxy.rpc.TextField> textFields,java.util.List<com.smartdevicelink.proxy.rpc.enums.MediaClockFormat> mediaClockFormats,Boolean graphicSupported)
public void format(Version rpcVersion,boolean formatParams)
Deprecated
Get the type of display
public com.smartdevicelink.proxy.rpc.enums.DisplayType getDisplayType()
Deprecated
Set the type of display
public com.smartdevicelink.proxy.rpc.DisplayCapabilities setDisplayType(DisplayType displayType)
Get the name of the display
public java.lang.String getDisplayName()
Set the name of the display
public com.smartdevicelink.proxy.rpc.DisplayCapabilities setDisplayName(String displayName)
Get an array of TextField structures, each of which describes a field in the HMI which the application can write to using operations such as Show, SetMediaClockTimer, etc. This array of TextField structures identify all the text fields to which the application can write on the current display (identified by DisplayType ).
public java.util.List getTextFields()
Set an array of TextField structures, each of which describes a field in the HMI which the application can write to using operations such as Show, SetMediaClockTimer, etc. This array of TextField structures identify all the text fields to which the application can write on the current display (identified by DisplayType ).
public com.smartdevicelink.proxy.rpc.DisplayCapabilities setTextFields(java.util.List<com.smartdevicelink.proxy.rpc.TextField> textFields)
public java.util.List getImageFields()
public com.smartdevicelink.proxy.rpc.DisplayCapabilities setImageFields(java.util.List<com.smartdevicelink.proxy.rpc.ImageField> imageFields)
public java.lang.Integer getNumCustomPresetsAvailable()
public com.smartdevicelink.proxy.rpc.DisplayCapabilities setNumCustomPresetsAvailable(Integer numCustomPresetsAvailable)
Get an array of MediaClockFormat elements, defining the valid string formats used in specifying the contents of the media clock field
public java.util.List getMediaClockFormats()
Set an array of MediaClockFormat elements, defining the valid string formats used in specifying the contents of the media clock field
public com.smartdevicelink.proxy.rpc.DisplayCapabilities setMediaClockFormats(java.util.List<com.smartdevicelink.proxy.rpc.enums.MediaClockFormat> mediaClockFormats)
set the display's persistent screen supports.
public com.smartdevicelink.proxy.rpc.DisplayCapabilities setGraphicSupported(Boolean graphicSupported)
Get the display's persistent screen supports.
public java.lang.Boolean getGraphicSupported()
public java.util.List getTemplatesAvailable()
public com.smartdevicelink.proxy.rpc.DisplayCapabilities setTemplatesAvailable(java.util.List<java.lang.String> templatesAvailable)
public com.smartdevicelink.proxy.rpc.DisplayCapabilities setScreenParams(ScreenParams screenParams)
public com.smartdevicelink.proxy.rpc.ScreenParams getScreenParams()
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 |