Keyboard.Key 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| 名称 | 说明 |
|---|---|
| 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
- 属性
注解
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。
适用于
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
指示 JniHandleOwnership如何处理 javaReference
注解
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。
适用于
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
- y
- Int32
- parser
- XmlReader
- 属性
注解
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。