public class ImageResolution extends RPCStruct
Parameter List
| Name | Type | Description | Reg. | Notes | Version |
|---|---|---|---|---|---|
| resolutionWidth | Integer | The image resolution width. | minvalue:1; maxvalue: 10000 | SmartDeviceLink 3.0 | |
| resolutionHeight | Integer | The image resolution height. | minvalue:1; maxvalue: 10000 | SmartDeviceLink 3.0 |
| Modifier and Type | Field and Description |
|---|---|
static String |
KEY_RESOLUTION_HEIGHT |
static String |
KEY_RESOLUTION_WIDTH |
KEY_BULK_DATA, KEY_PROTECTED, store| Constructor and Description |
|---|
ImageResolution() |
ImageResolution(Hashtable<String,Object> hash)
Constructs a new ImageResolution object indicated by the Hashtable
parameter
|
ImageResolution(Integer resolutionWidth,
Integer resolutionHeight) |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getResolutionHeight() |
Integer |
getResolutionWidth() |
ImageResolution |
setResolutionHeight(Integer resolutionHeight) |
ImageResolution |
setResolutionWidth(Integer resolutionWidth) |
String |
toString() |
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_RESOLUTION_WIDTH
public static final String KEY_RESOLUTION_HEIGHT
public ImageResolution()
public ImageResolution(Hashtable<String,Object> hash)
Constructs a new ImageResolution object indicated by the Hashtable parameter
hash - The Hashtable to usepublic ImageResolution setResolutionWidth(@NonNull Integer resolutionWidth)
resolutionWidth - the desired resolution width. Odds values cause problems in
the Android H264 decoder, as a workaround the odd value is
converted to a pair value.public Integer getResolutionWidth()
public ImageResolution setResolutionHeight(@NonNull Integer resolutionHeight)
resolutionHeight - the desired resolution height. Odds values cause problems in
the Android H264 decoder, as a workaround the odd value is
converted to a pair value.public Integer getResolutionHeight()