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

SliderResponse Class Reference


Instance Methods


new SliderResponse(parameters)

Initializes an instance of SliderResponse.

Instance Methods

sliderResponse.getSliderPosition() ⇒ Number

Get the SliderPosition

Kind: Instance method of SliderResponse
Returns: Number - the KEY_SLIDER_POSITION value

sliderResponse.setSliderPosition(position) ⇒ SliderResponse

Set the SliderPosition

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

position Number Current slider value returned when saved or canceled (aborted) This value is only returned for resultCodes "SAVED" or "ABORTED" - The desired SliderPosition. {'num_min_value': 1, 'num_max_value': 26}
View on GitHub.com
Previous Section Next Section