Keyboard.Key Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Keyboard.Key(Keyboard+Row) |
Create an empty key with no attributes. |
Keyboard.Key(IntPtr, JniHandleOwnership) |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
Keyboard.Key(Resources, Keyboard+Row, Int32, Int32, XmlReader) |
Create a key with the given top-left coordinate and extract its attributes from the XML parser. |
Keyboard.Key(Keyboard+Row)
Create an empty key with no attributes.
[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
Parameters
- parent
- Keyboard.Row
- Attributes
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
Keyboard.Key(IntPtr, JniHandleOwnership)
A constructor used when creating managed representations of JNI objects; called by the runtime.
protected Key (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.InputMethodServices.Keyboard.Key : nativeint * Android.Runtime.JniHandleOwnership -> Android.InputMethodServices.Keyboard.Key
Parameters
- transfer
- JniHandleOwnership
A JniHandleOwnershipindicating how to handle javaReference
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
Keyboard.Key(Resources, Keyboard+Row, Int32, Int32, XmlReader)
Create a key with the given top-left coordinate and extract its attributes from the XML parser.
[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
Parameters
- res
- Resources
- parent
- Keyboard.Row
- x
- Int32
- y
- Int32
- parser
- XmlReader
- Attributes
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.