| Modifier and Type | Field and Description |
|---|---|
static String |
KEY_BUTTON_CAPABILITIES |
static String |
KEY_DYNAMIC_UPDATE_CAPABILITIES |
static String |
KEY_IMAGE_FIELDS |
static String |
KEY_IMAGE_TYPE_SUPPORTED |
static String |
KEY_KEYBOARD_CAPABILITIES |
static String |
KEY_MENU_LAYOUTS_AVAILABLE |
static String |
KEY_NUM_CUSTOM_PRESETS_AVAILABLE |
static String |
KEY_SOFT_BUTTON_CAPABILITIES |
static String |
KEY_TEMPLATES_AVAILABLE |
static String |
KEY_TEXT_FIELDS |
static String |
KEY_WINDOW_ID |
KEY_BULK_DATA, KEY_PROTECTED, store| Constructor and Description |
|---|
WindowCapability() |
WindowCapability(Hashtable<String,Object> hash) |
| Modifier and Type | Method and Description |
|---|---|
List<ButtonCapabilities> |
getButtonCapabilities()
Gets the buttonCapabilities portion of the WindowCapability class
|
DynamicUpdateCapabilities |
getDynamicUpdateCapabilities()
Gets the dynamicUpdateCapabilities.
|
List<ImageField> |
getImageFields()
Get an array of ImageField structures.
|
List<ImageType> |
getImageTypeSupported()
Get an array of ImageType elements.
|
KeyboardCapabilities |
getKeyboardCapabilities()
Gets the keyboardCapabilities.
|
List<MenuLayout> |
getMenuLayoutsAvailable()
An array of available menu layouts.
|
Integer |
getNumCustomPresetsAvailable()
Gets the numCustomPresetsAvailable.
|
List<SoftButtonCapabilities> |
getSoftButtonCapabilities()
Gets the softButtonCapabilities portion of the WindowCapability class
|
List<String> |
getTemplatesAvailable()
Get an array of templatesAvailable.
|
List<TextField> |
getTextFields()
Get an array of TextField structures.
|
Integer |
getWindowID()
Gets the windowID.
|
WindowCapability |
setButtonCapabilities(List<ButtonCapabilities> buttonCapabilities)
Sets the buttonCapabilities portion of the WindowCapability class.
|
WindowCapability |
setDynamicUpdateCapabilities(DynamicUpdateCapabilities dynamicUpdateCapabilities)
Sets the dynamicUpdateCapabilities.
|
WindowCapability |
setImageFields(List<ImageField> imageFields)
Set an array of ImageField structures.
|
WindowCapability |
setImageTypeSupported(List<ImageType> imageTypeSupported)
Set an array of ImageType elements.
|
WindowCapability |
setKeyboardCapabilities(KeyboardCapabilities keyboardCapabilities)
Sets the keyboardCapabilities.
|
WindowCapability |
setMenuLayoutsAvailable(List<MenuLayout> menuLayout)
An array of available menu layouts.
|
WindowCapability |
setNumCustomPresetsAvailable(Integer numCustomPresetsAvailable)
Sets the numCustomPresetsAvailable.
|
WindowCapability |
setSoftButtonCapabilities(List<SoftButtonCapabilities> softButtonCapabilities)
Sets the softButtonCapabilities portion of the WindowCapability class.
|
WindowCapability |
setTemplatesAvailable(List<String> templatesAvailable)
Set an array of templatesAvailable.
|
WindowCapability |
setTextFields(List<TextField> textFields)
Set an array of TextField structures.
|
WindowCapability |
setWindowID(Integer windowID)
Sets the windowID.
|
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_WINDOW_ID
public static final String KEY_TEXT_FIELDS
public static final String KEY_IMAGE_FIELDS
public static final String KEY_IMAGE_TYPE_SUPPORTED
public static final String KEY_TEMPLATES_AVAILABLE
public static final String KEY_NUM_CUSTOM_PRESETS_AVAILABLE
public static final String KEY_BUTTON_CAPABILITIES
public static final String KEY_SOFT_BUTTON_CAPABILITIES
public static final String KEY_MENU_LAYOUTS_AVAILABLE
public static final String KEY_DYNAMIC_UPDATE_CAPABILITIES
public static final String KEY_KEYBOARD_CAPABILITIES
public WindowCapability setWindowID(Integer windowID)
windowID - A unique ID to identify the window. The value of '0' will always be the default main window on the main display and should not be used in this context as it will already be created for the app. See PredefinedWindows enum. Creating a window with an ID that is already in use will be rejected with `INVALID_ID`.public Integer getWindowID()
public List<TextField> getTextFields()
public WindowCapability setTextFields(List<TextField> textFields)
1<= textFields.size() <= 100textFields - the List of textFieldspublic List<ImageField> getImageFields()
public WindowCapability setImageFields(List<ImageField> imageFields)
1<= ImageFields.size() <= 100imageFields - the List of imageFieldspublic List<ImageType> getImageTypeSupported()
public WindowCapability setImageTypeSupported(List<ImageType> imageTypeSupported)
0<= imageTypeSupported.size() <= 1000imageTypeSupported - the List of ImageTypepublic List<String> getTemplatesAvailable()
public WindowCapability setTemplatesAvailable(List<String> templatesAvailable)
0<= templatesAvailable.size() <= 100templatesAvailable - the List of Stringpublic Integer getNumCustomPresetsAvailable()
public WindowCapability setNumCustomPresetsAvailable(Integer numCustomPresetsAvailable)
1<= numCustomPresetsAvailable.size() <= 100numCustomPresetsAvailable - public WindowCapability setButtonCapabilities(List<ButtonCapabilities> buttonCapabilities)
1<= buttonCapabilities.size() <= 100buttonCapabilities - It refers to number of buttons and the capabilities of each on-window button.public List<ButtonCapabilities> getButtonCapabilities()
public WindowCapability setSoftButtonCapabilities(List<SoftButtonCapabilities> softButtonCapabilities)
1<= softButtonCapabilities.size() <= 100softButtonCapabilities - It refers to number of soft buttons available on-window and the capabilities for each button.public List<SoftButtonCapabilities> getSoftButtonCapabilities()
public WindowCapability setMenuLayoutsAvailable(List<MenuLayout> menuLayout)
menuLayout - - An array of MenuLayoutspublic List<MenuLayout> getMenuLayoutsAvailable()
public WindowCapability setDynamicUpdateCapabilities(DynamicUpdateCapabilities dynamicUpdateCapabilities)
dynamicUpdateCapabilities - Contains the head unit's capabilities for dynamic updating features declaring if the
module will send dynamic update RPCs.public DynamicUpdateCapabilities getDynamicUpdateCapabilities()
public WindowCapability setKeyboardCapabilities(KeyboardCapabilities keyboardCapabilities)
keyboardCapabilities - See KeyboardCapabilitiespublic KeyboardCapabilities getKeyboardCapabilities()