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
RdsData

Class RdsData

Hierarchy

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

Package
com.smartdevicelink.proxy.rpc

Overview

Include the data defined in Radio Data System, which is a communications protocol standard for embedding small amounts of digital information in conventional FM radio broadcasts.

Fields

KEY_PS

public static final java.lang.String KEY_PS
Constant Value
"PS"

KEY_RT

public static final java.lang.String KEY_RT
Constant Value
"RT"

KEY_CT

public static final java.lang.String KEY_CT
Constant Value
"CT"

KEY_PI

public static final java.lang.String KEY_PI
Constant Value
"PI"

KEY_PTY

public static final java.lang.String KEY_PTY
Constant Value
"PTY"

KEY_TP

public static final java.lang.String KEY_TP
Constant Value
"TP"

KEY_TA

public static final java.lang.String KEY_TA
Constant Value
"TA"

KEY_REG

public static final java.lang.String KEY_REG
Constant Value
"REG"

Inherited Fields

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

Constructors

RdsData()

public RdsData()

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

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

Constructor Parameters

hash

Methods

setProgramService( String programService )

Sets the programService portion of the RdsData class

public com.smartdevicelink.proxy.rpc.RdsData setProgramService(String programService)

Method Parameters

programService
Program Service Name.

getProgramService()

Gets the programService portion of the RdsData class

public java.lang.String getProgramService()

setRadioText( String radioText )

Sets the radioText portion of the RdsData class

public com.smartdevicelink.proxy.rpc.RdsData setRadioText(String radioText)

Method Parameters

radioText
Radio Text.

getRadioText()

Gets the radioText portion of the RdsData class

public java.lang.String getRadioText()

setClockText( String clockText )

Sets the clockText portion of the RdsData class

public com.smartdevicelink.proxy.rpc.RdsData setClockText(String clockText)

Method Parameters

clockText
The clock text in UTC format as YYYY-MM-DDThh:mm:ss.sTZD.

getClockText()

Gets the clockText portion of the RdsData class

public java.lang.String getClockText()

setProgramIdentification( String programIdentification )

Sets the programIdentification portion of the RdsData class

public com.smartdevicelink.proxy.rpc.RdsData setProgramIdentification(String programIdentification)

Method Parameters

programIdentification
Program Identification - the call sign for the radio station.

getProgramIdentification()

Gets the programIdentification portion of the RdsData class

public java.lang.String getProgramIdentification()

setRegion( String region )

Sets the region portion of the RdsData class

public com.smartdevicelink.proxy.rpc.RdsData setRegion(String region)

Method Parameters

region
Region.

getRegion()

Gets the region portion of the RdsData class

public java.lang.String getRegion()

setTrafficProgram( Boolean trafficProgram )

Sets the trafficProgram portion of the RdsData class

public com.smartdevicelink.proxy.rpc.RdsData setTrafficProgram(Boolean trafficProgram)

Method Parameters

trafficProgram
Traffic Program Identification - Identifies a station that offers traffic.

getTrafficProgram()

Gets the trafficProgram portion of the RdsData class

public java.lang.Boolean getTrafficProgram()

setTrafficAnnouncement( Boolean trafficAnnouncement )

Sets the trafficAnnouncement portion of the RdsData class

public com.smartdevicelink.proxy.rpc.RdsData setTrafficAnnouncement(Boolean trafficAnnouncement)

Method Parameters

trafficAnnouncement
Traffic Announcement Identification - Indicates an ongoing traffic announcement.

getTrafficAnnouncement()

Gets the trafficAnnouncement portion of the RdsData class

public java.lang.Boolean getTrafficAnnouncement()

setProgramType( Integer programType )

Sets the programType portion of the RdsData class

public com.smartdevicelink.proxy.rpc.RdsData setProgramType(Integer programType)

Method Parameters

programType
The program type - The region should be used to differentiate between EU and North America program types.

getProgramType()

Gets the programType portion of the RdsData class

public java.lang.Integer getProgramType()

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