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
Android Documentation
StartTime

Class StartTime

Hierarchy

java.lang.Object
     com.smartdevicelink.proxy.RPCStruct

Package
com.smartdevicelink.proxy.rpc

Overview

Describes the hour, minute and second values used to set the media clock.

Parameter List

Name Type Description SmartDeviceLink Ver. Available
hours Integer The hour. Minvalue="0", maxvalue="59"

Note:

Some display types only support a max value of 19. If out of range, it will be rejected.
SmartDeviceLink 1.0
minutes Integer The minute. Minvalue="0", maxvalue="59". SmartDeviceLink 1.0
seconds Integer The second. Minvalue="0", maxvalue="59". SmartDeviceLink 1.0

Fields

KEY_MINUTES

public static final java.lang.String KEY_MINUTES
Constant Value
"minutes"

KEY_SECONDS

public static final java.lang.String KEY_SECONDS
Constant Value
"seconds"

KEY_HOURS

public static final java.lang.String KEY_HOURS
Constant Value
"hours"

Inherited Fields

From Class Fields
com.smartdevicelink.proxy.RPCStruct KEY_BULK_DATA, KEY_PROTECTED, store

Constructors

StartTime()

Constructs a newly allocated StartTime object

public StartTime()

StartTime( java.util.Hashtable<java.lang.String, java.lang.Object> hash )

Constructs a newly allocated StartTime object indicated by the Hashtable parameter

public StartTime(java.util.Hashtable<java.lang.String, java.lang.Object> hash)

Constructor Parameters

hash
The Hashtable to use

StartTime( Integer timeInterval )

Constructs a newly allocated StartTime object

public StartTime(Integer timeInterval)

Constructor Parameters

timeInterval
time interval in seconds

StartTime( Integer hours, Integer minutes, Integer seconds )

Constructs a newly allocated StartTime object

public StartTime(Integer hours,Integer minutes,Integer seconds)

Constructor Parameters

hours
The hour
minutes
The minute
seconds
The second

Methods

getHours()

Get the hour. Minvalue="0", maxvalue="59"

Note:

Some display types only support a max value of 19. If out of range, it will be rejected.

public java.lang.Integer getHours()

setHours( Integer hours )

Set the hour. Minvalue="0", maxvalue="59"

Note:

Some display types only support a max value of 19. If out of range, it will be rejected.

public com.smartdevicelink.proxy.rpc.StartTime setHours(Integer hours)

Method Parameters

hours
min: 0; max: 59

getMinutes()

Get the minute. Minvalue="0", maxvalue="59".

public java.lang.Integer getMinutes()

setMinutes( Integer minutes )

Set the minute. Minvalue="0", maxvalue="59".

public com.smartdevicelink.proxy.rpc.StartTime setMinutes(Integer minutes)

Method Parameters

minutes
min: 0; max: 59

getSeconds()

Get the second. Minvalue="0", maxvalue="59".

public java.lang.Integer getSeconds()

setSeconds( Integer seconds )

Set the second. Minvalue="0", maxvalue="59".

public com.smartdevicelink.proxy.rpc.StartTime setSeconds(Integer seconds)

Method Parameters

seconds
min: 0 max: 59

Inherited Methods

From Class Methods
com.smartdevicelink.proxy.RPCStruct getStoreValue, getStore, deserializeJSON, serializeJSON, serializeJSON, format, getBulkData, setBulkData, setPayloadProtected, isPayloadProtected, getMessageTypeName, hasKey, setValue, getValue, getObject, formatObject, getValueForString, getString, getInteger, getDouble, getFloat, getBoolean, getLong, clone, equals, hashCode
java.lang.Object getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize
View on GitHub.com
Previous Section Next Section