次の方法で共有


AudioDeviceInfo.GetSampleRates Method

Definition

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

Returns

Int32[]

An array of sample rates supported by the audio device.

        Note: an empty array indicates that the device supports arbitrary rates.
Attributes

Remarks

Java documentation for android.media.AudioDeviceInfo.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