Language

TvTrackInfo.Builder.SetAudioSampleRate(Int32) Method

Definition

Sets the audio sample rate, in the unit of Hz.

[Android.Runtime.Register("setAudioSampleRate", "(I)Landroid/media/tv/TvTrackInfo$Builder;", "")]
public Android.Media.TV.TvTrackInfo.Builder SetAudioSampleRate(int audioSampleRate);
[<Android.Runtime.Register("setAudioSampleRate", "(I)Landroid/media/tv/TvTrackInfo$Builder;", "")>]
member this.SetAudioSampleRate : int -> Android.Media.TV.TvTrackInfo.Builder

Parameters

audioSampleRate
Int32

The audio sample rate.

Returns

Attributes

Remarks

Sets the audio sample rate, in the unit of Hz. Valid only for TvTrackInfo.TYPE_AUDIO tracks.

Android reference for android.media.tv.TvTrackInfo.Builder.setAudioSampleRate.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to