Share via


AudioDeviceInfo.GetChannelCounts Method

Definition

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

Returns

Int32[]

An array of channel counts (1, 2, 4, ...) for which this audio device can be configured.

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

Remarks

Java documentation for android.media.AudioDeviceInfo.getChannelCounts().

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