Share via


AudioProfile.GetSampleRates Method

Definition

[Android.Runtime.Register("getSampleRates", "()[I", "GetGetSampleRatesHandler", ApiSince=31)]
public virtual int[] GetSampleRates ();
[<Android.Runtime.Register("getSampleRates", "()[I", "GetGetSampleRatesHandler", ApiSince=31)>]
abstract member GetSampleRates : unit -> int[]
override this.GetSampleRates : unit -> int[]

Returns

Int32[]

an array of sample rates that are associated with the encoding format.

Attributes

Remarks

Java documentation for android.media.AudioProfile.getSampleRates().

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