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
JavaScript Suite Documentation
AudioPassThruCapabilities

AudioPassThruCapabilities Class Reference

Constructors

Instance Methods

Constructors

new AudioPassThruCapabilities(parameters)

Initializes an instance of AudioPassThruCapabilities.

Instance Methods

audioPassThruCapabilities.getAudioType() ⇒ AudioType

Get the AudioType

Kind: Instance method of AudioPassThruCapabilities
Returns: AudioType - the KEY_AUDIO_TYPE value

audioPassThruCapabilities.getBitsPerSample() ⇒ BitsPerSample

Get the BitsPerSample

Kind: Instance method of AudioPassThruCapabilities
Returns: BitsPerSample - the KEY_BITS_PER_SAMPLE value

audioPassThruCapabilities.getSamplingRate() ⇒ SamplingRate

Get the SamplingRate

Kind: Instance method of AudioPassThruCapabilities
Returns: SamplingRate - the KEY_SAMPLING_RATE value

audioPassThruCapabilities.setAudioType(type) ⇒ AudioPassThruCapabilities

Set the AudioType

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

ParamTypeDescription
type AudioType Describes different audio type options for PerformAudioPassThru. - The desired AudioType.

audioPassThruCapabilities.setBitsPerSample(sample) ⇒ AudioPassThruCapabilities

Set the BitsPerSample

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

ParamTypeDescription
sample BitsPerSample Describes different quality options for PerformAudioPassThru. - The desired BitsPerSample.

audioPassThruCapabilities.setSamplingRate(rate) ⇒ AudioPassThruCapabilities

Set the SamplingRate

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

ParamTypeDescription
rate SamplingRate Describes different sampling options for PerformAudioPassThru. - The desired SamplingRate.
View on GitHub.com
Previous Section Next Section