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

ImageResolution Class Reference

Constructors

Instance Methods

Constructors

new ImageResolution(parameters)

Initalizes an instance of ImageResolution.

Instance Methods

imageResolution.getResolutionHeight() ⇒ Number

Get the ResolutionHeight

Kind: Instance method of ImageResolution
Returns: Number - the KEY_RESOLUTION_HEIGHT value

imageResolution.getResolutionWidth() ⇒ Number

Get the ResolutionWidth

Kind: Instance method of ImageResolution
Returns: Number - the KEY_RESOLUTION_WIDTH value

imageResolution.setResolutionHeight(height) ⇒ ImageResolution

Set the ResolutionHeight

Kind: Instance method of ImageResolution
Returns: ImageResolution - The class instance for method chaining.

ParamTypeDescription
height Number The image resolution height. - The desired ResolutionHeight. {'num_min_value': 1, 'num_max_value': 10000}

imageResolution.setResolutionWidth(width) ⇒ ImageResolution

Set the ResolutionWidth

Kind: Instance method of ImageResolution
Returns: ImageResolution - The class instance for method chaining.

ParamTypeDescription
width Number The image resolution width. - The desired ResolutionWidth. {'num_min_value': 1, 'num_max_value': 10000}
View on GitHub.com
Previous Section Next Section