語言

InputManager.GetInputDeviceIds 方法

定義

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

[Android.Runtime.Register("getInputDeviceIds", "()[I", "")]
public int[]? GetInputDeviceIds();
[<Android.Runtime.Register("getInputDeviceIds", "()[I", "")>]
member this.GetInputDeviceIds : unit -> int[]

傳回

Int32[]

輸入裝置的 ID。

屬性

備註

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

Java 文件 android.hardware.input.InputManager.getInputDeviceIds()

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於