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
JavaEE Documentation
AudioData

Class AudioData

Hierarchy

java.lang.Object

Package
com.smartdevicelink.managers.screen
All Known Subclasses
com.smartdevicelink.managers.screen.AlertAudioData

Constructors

AudioData( SdlFile audioFile )

public AudioData(SdlFile audioFile)

Parameters

audioFile

AudioData( String phoneticString, SpeechCapabilities phoneticType )

public AudioData(String phoneticString,SpeechCapabilities phoneticType)

Parameters

phoneticString
phoneticType

Methods

addAudioFiles( java.util.List<SdlFile> audioFiles )

Add additional SDLFiles holding data or pointing to a file on the file system. When this object is passed to an `Alert` or `Speak`, the file will be uploaded if it is not already, then played if the system supports that feature.

public void addAudioFiles(java.util.List<SdlFile> audioFiles)

Parameters

audioFiles
A list of audio file to be played by the system

addSpeechSynthesizerStrings( java.util.List<java.lang.String> spokenString )

Create additional strings to be spoken by the system speech synthesizer.

public void addSpeechSynthesizerStrings(java.util.List<java.lang.String> spokenString)

Parameters

spokenString
The strings to be spoken by the system speech synthesizer

addPhoneticSpeechSynthesizerStrings( java.util.List<java.lang.String> phoneticString, SpeechCapabilities phoneticType )

Create additional strings to be spoken by the system speech synthesizer using a phonetic string.

public void addPhoneticSpeechSynthesizerStrings(java.util.List<java.lang.String> phoneticString,SpeechCapabilities phoneticType)

Parameters

phoneticString
The strings to be spoken by the system speech synthesizer
phoneticType
Must be one of `SAPI_PHONEMES`, `LHPLUS_PHONEMES`, `TEXT`, or `PRE_RECORDED` or no object will be created

getAudioData()

public java.util.List getAudioData()

Inherited Methods

From Class Methods
java.lang.Object getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize
View on GitHub.com
Previous Section Next Section