語言

InputDevice.GetDeviceIds 方法

定義

取得系統中所有輸入裝置的 ID。

[Android.Runtime.Register("getDeviceIds", "()[I", "")]
public static int[]? GetDeviceIds();
[<Android.Runtime.Register("getDeviceIds", "()[I", "")>]
static member GetDeviceIds : unit -> int[]

傳回

Int32[]

輸入裝置的 ID。

屬性

備註

取得系統中所有輸入裝置的 ID。

Java 文件 android.view.InputDevice.getDeviceIds()

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

適用於