Keyboard.Key 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| Keyboard.Key(Keyboard+Row) |
建立一個空的金鑰,沒有屬性。 |
| Keyboard.Key(IntPtr, JniHandleOwnership) |
用於建立 JNI 物件受管理表示的建構器;由執行時呼叫。 |
| Keyboard.Key(Resources, Keyboard+Row, Int32, Int32, XmlReader) |
建立一個左上角座標的鍵,並從 XML 解析器中擷取其屬性。 |
Keyboard.Key(Keyboard+Row)
建立一個空的金鑰,沒有屬性。
[Android.Runtime.Register(".ctor", "(Landroid/inputmethodservice/Keyboard$Row;)V", "")]
public Key(Android.InputMethodServices.Keyboard.Row parent);
[<Android.Runtime.Register(".ctor", "(Landroid/inputmethodservice/Keyboard$Row;)V", "")>]
new Android.InputMethodServices.Keyboard.Key : Android.InputMethodServices.Keyboard.Row -> Android.InputMethodServices.Keyboard.Key
參數
- parent
- Keyboard.Row
- 屬性
備註
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。
適用於
Keyboard.Key(IntPtr, JniHandleOwnership)
用於建立 JNI 物件受管理表示的建構器;由執行時呼叫。
protected Key(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.InputMethodServices.Keyboard.Key : nativeint * Android.Runtime.JniHandleOwnership -> Android.InputMethodServices.Keyboard.Key
參數
- transfer
- JniHandleOwnership
JniHandleOwnershipA 指示如何處理javaReference
備註
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。
適用於
Keyboard.Key(Resources, Keyboard+Row, Int32, Int32, XmlReader)
建立一個左上角座標的鍵,並從 XML 解析器中擷取其屬性。
[Android.Runtime.Register(".ctor", "(Landroid/content/res/Resources;Landroid/inputmethodservice/Keyboard$Row;IILandroid/content/res/XmlResourceParser;)V", "")]
public Key(Android.Content.Res.Resources res, Android.InputMethodServices.Keyboard.Row parent, int x, int y, System.Xml.XmlReader parser);
[<Android.Runtime.Register(".ctor", "(Landroid/content/res/Resources;Landroid/inputmethodservice/Keyboard$Row;IILandroid/content/res/XmlResourceParser;)V", "")>]
new Android.InputMethodServices.Keyboard.Key : Android.Content.Res.Resources * Android.InputMethodServices.Keyboard.Row * int * int * System.Xml.XmlReader -> Android.InputMethodServices.Keyboard.Key
參數
- res
- Resources
與呼叫者情境相關的資源
- parent
- Keyboard.Row
這把鑰匙所屬的那一列。 該排必須已經連接到鍵盤上。
- x
- Int32
左上角的 x 座標
- y
- Int32
左上角的Y座標
- parser
- XmlReader
包含此鍵屬性的 XML 解析器
- 屬性
備註
建立一個左上角座標的鍵,並從 XML 解析器中擷取其屬性。
Android 參考資料。android.inputmethodservice.Keyboard.Key.Key
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。