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
StartTime

StartTime Class Reference

Constructors

Instance Methods

Constructors

new StartTime(parameters)

Initalizes an instance of StartTime.

Instance Methods

startTime.getHours() ⇒ Number

Get the Hours

Kind: Instance method of StartTime
Returns: Number - the KEY_HOURS value

startTime.getMinutes() ⇒ Number

Get the Minutes

Kind: Instance method of StartTime
Returns: Number - the KEY_MINUTES value

startTime.getSeconds() ⇒ Number

Get the Seconds

Kind: Instance method of StartTime
Returns: Number - the KEY_SECONDS value

startTime.setHours(hours) ⇒ StartTime

Set the Hours

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

ParamTypeDescription
hours Number The hour of the media clock. Some radios only support a max of 19 hours. If out of range, it will be rejected. - The desired Hours. {'num_min_value': 0, 'num_max_value': 59}

startTime.setMinutes(minutes) ⇒ StartTime

Set the Minutes

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

ParamTypeDescription
minutes Number The desired Minutes. {'num_min_value': 0, 'num_max_value': 59}

startTime.setSeconds(seconds) ⇒ StartTime

Set the Seconds

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

ParamTypeDescription
seconds Number The desired Seconds. {'num_min_value': 0, 'num_max_value': 59}
View on GitHub.com
Previous Section Next Section