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
JavaScript Suite Documentation
ScreenParams

ScreenParams Class Reference

Constructors

Instance Methods

Constructors

new ScreenParams(parameters)

Initializes an instance of ScreenParams.

Instance Methods

screenParams.getResolution() ⇒ ImageResolution

Get the Resolution

Kind: Instance method of ScreenParams
Returns: ImageResolution - the KEY_RESOLUTION value

screenParams.getTouchEventAvailable() ⇒ TouchEventCapabilities

Get the TouchEventAvailable

Kind: Instance method of ScreenParams
Returns: TouchEventCapabilities - the KEY_TOUCH_EVENT_AVAILABLE value

screenParams.setResolution(resolution) ⇒ ScreenParams

Set the Resolution

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

ParamTypeDescription
resolution ImageResolution The resolution of the prescribed screen area. - The desired Resolution.

screenParams.setTouchEventAvailable(available) ⇒ ScreenParams

Set the TouchEventAvailable

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

ParamTypeDescription
available TouchEventCapabilities Types of screen touch events available in screen area. - The desired TouchEventAvailable.
View on GitHub.com
Previous Section Next Section