InputDevice.GetDevice(Int32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得輸入裝置與指定 ID 的資訊。
[Android.Runtime.Register("getDevice", "(I)Landroid/view/InputDevice;", "")]
public static Android.Views.InputDevice? GetDevice(int id);
[<Android.Runtime.Register("getDevice", "(I)Landroid/view/InputDevice;", "")>]
static member GetDevice : int -> Android.Views.InputDevice
參數
- id
- Int32
裝置識別碼。
傳回
輸入裝置或空裝置(如果找不到)。
- 屬性
備註
取得輸入裝置與指定 ID 的資訊。
Java 文件 android.view.InputDevice.getDevice(int)。
此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。