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
SetMediaClockTimer

SetMediaClockTimer Class Reference

Constructors

Instance Methods

Constructors

new SetMediaClockTimer(parameters)

Initalizes an instance of SetMediaClockTimer.

Instance Methods

setMediaClockTimer.getAudioStreamingIndicator() ⇒ AudioStreamingIndicator

Get the AudioStreamingIndicator

Kind: Instance method of SetMediaClockTimer
Returns: AudioStreamingIndicator - the KEY_AUDIO_STREAMING_INDICATOR value

setMediaClockTimer.getEndTime() ⇒ StartTime

Get the EndTime

Kind: Instance method of SetMediaClockTimer
Returns: StartTime - the KEY_END_TIME value

setMediaClockTimer.getStartTime() ⇒ StartTime

Get the StartTime

Kind: Instance method of SetMediaClockTimer
Returns: StartTime - the KEY_START_TIME value

setMediaClockTimer.getUpdateMode() ⇒ UpdateMode

Get the UpdateMode

Kind: Instance method of SetMediaClockTimer
Returns: UpdateMode - the KEY_UPDATE_MODE value

setMediaClockTimer.setAudioStreamingIndicator(indicator) ⇒ SetMediaClockTimer

Set the AudioStreamingIndicator

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

ParamTypeDescription
indicator AudioStreamingIndicator Enumeration for the indicator icon on a play/pause button. see AudioStreamingIndicator. - The desired AudioStreamingIndicator.

setMediaClockTimer.setEndTime(time) ⇒ SetMediaClockTimer

Set the EndTime

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

ParamTypeDescription
time StartTime See StartTime. endTime can be provided for "COUNTUP" and "COUNTDOWN"; to be used to calculate any visual progress bar (if not provided, this feature is ignored) If endTime is greater than startTime for COUNTDOWN or less than startTime for COUNTUP, then the request will return an INVALID_DATA. endTime will be ignored for "RESUME", and "CLEAR" endTime can be sent for "PAUSE", in which case it will update the paused endTime - The desired EndTime.

setMediaClockTimer.setStartTime(time) ⇒ SetMediaClockTimer

Set the StartTime

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

ParamTypeDescription
time StartTime See StartTime. startTime must be provided for "COUNTUP" and "COUNTDOWN". startTime will be ignored for "RESUME", and "CLEAR" startTime can be sent for "PAUSE", in which case it will update the paused startTime - The desired StartTime.

setMediaClockTimer.setUpdateMode(mode) ⇒ SetMediaClockTimer

Set the UpdateMode

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

ParamTypeDescription
mode UpdateMode Enumeration to control the media clock. In case of pause, resume, or clear, the start time value is ignored and shall be left out. For resume, the time continues with the same value as it was when paused. - The desired UpdateMode.
View on GitHub.com
Previous Section Next Section