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
JavaSE Documentation
ImageResolution

Class ImageResolution

Hierarchy

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

Package
com.smartdevicelink.proxy.rpc

Overview

The image resolution of this field.

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

Fields

KEY_RESOLUTION_WIDTH

public static final java.lang.String KEY_RESOLUTION_WIDTH
Constant Value
"resolutionWidth"

KEY_RESOLUTION_HEIGHT

public static final java.lang.String KEY_RESOLUTION_HEIGHT
Constant Value
"resolutionHeight"

Inherited Fields

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

Constructors

ImageResolution()

public ImageResolution()

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

Constructs a new ImageResolution object indicated by the Hashtable parameter

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

Constructor Parameters

hash
The Hashtable to use

ImageResolution( Integer resolutionWidth, Integer resolutionHeight )

public ImageResolution(Integer resolutionWidth,Integer resolutionHeight)

Constructor Parameters

resolutionWidth
resolutionHeight

Methods

setResolutionWidth( Integer resolutionWidth )

public com.smartdevicelink.proxy.rpc.ImageResolution setResolutionWidth(Integer resolutionWidth)

Method Parameters

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.

getResolutionWidth()

public java.lang.Integer getResolutionWidth()

setResolutionHeight( Integer resolutionHeight )

public com.smartdevicelink.proxy.rpc.ImageResolution setResolutionHeight(Integer resolutionHeight)

Method Parameters

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.

getResolutionHeight()

public java.lang.Integer getResolutionHeight()

toString()

public java.lang.String toString()

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