java.lang.Object
com.smartdevicelink.proxy.RPCStruct
Describes different audio type configurations for PerformAudioPassThru, e.g. {8kHz,8-bit,PCM} Specifies the capabilities of audio capturing: sampling rate, bits per sample, audio type.
Parameter List
Name | Type | Description | SmartDeviceLink Ver. Available |
---|---|---|---|
samplingRate | SamplingRate | Describes the sampling rate for AudioPassThru | SmartDeviceLink 2.0 |
bitsPerSample | BitsPerSample | Describes the sample depth in bit for AudioPassThru | SmartDeviceLink 2.0 |
audioType | AudioType | Describes the audioType for AudioPassThru | SmartDeviceLink 2.0 |
public static final java.lang.String KEY_SAMPLING_RATE
public static final java.lang.String KEY_AUDIO_TYPE
public static final java.lang.String KEY_BITS_PER_SAMPLE
From Class | Fields |
---|---|
com.smartdevicelink.proxy.RPCStruct | KEY_BULK_DATA, KEY_PROTECTED, store |
Constructs a newly allocated AudioPassThruCapabilities object
public AudioPassThruCapabilities()
Constructs a newly allocated AudioPassThruCapabilities object indicated by the Hashtable parameter
public AudioPassThruCapabilities(java.util.Hashtable<java.lang.String, java.lang.Object> hash)
Constructs a newly allocated AudioPassThruCapabilities object
public AudioPassThruCapabilities(SamplingRate samplingRate,BitsPerSample bitsPerSample,AudioType audioType)
set the sampling rate for AudioPassThru
public com.smartdevicelink.proxy.rpc.AudioPassThruCapabilities setSamplingRate(SamplingRate samplingRate)
get the sampling rate for AudioPassThru
public com.smartdevicelink.proxy.rpc.enums.SamplingRate getSamplingRate()
set the sample depth in bit for AudioPassThru
public com.smartdevicelink.proxy.rpc.AudioPassThruCapabilities setBitsPerSample(BitsPerSample bitsPerSample)
get the sample depth in bit for AudioPassThru
public com.smartdevicelink.proxy.rpc.enums.BitsPerSample getBitsPerSample()
set the audioType for AudioPassThru
public com.smartdevicelink.proxy.rpc.AudioPassThruCapabilities setAudioType(AudioType audioType)
get the audioType for AudioPassThru
public com.smartdevicelink.proxy.rpc.enums.AudioType getAudioType()
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 |