共用方式為


AudioDeviceInfo.GetChannelCounts 方法

定義

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

傳回

Int32[]

可設定此音訊裝置的通道計數數位列(1、2、4...)。

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

備註

android.media.AudioDeviceInfo.getChannelCounts()Java 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於