Instrumentation.SendCharacterSync(Keycode) Method
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.
Sends up and down key events with the given key code to the currently focused window, and waits for it to be processed.
[Android.Runtime.Register("sendCharacterSync", "(I)V", "GetSendCharacterSync_IHandler")]
public virtual void SendCharacterSync (Android.Views.Keycode keyCode);
[<Android.Runtime.Register("sendCharacterSync", "(I)V", "GetSendCharacterSync_IHandler")>]
abstract member SendCharacterSync : Android.Views.Keycode -> unit
override this.SendCharacterSync : Android.Views.Keycode -> unit
Parameters
- keyCode
- Keycode
The key code of the character to send.
- Attributes
Remarks
Sends up and down key events with the given key code to the currently focused window, and waits for it to be processed.
Equivalent to #sendKeyDownUpSync(int)
.
Java documentation for android.app.Instrumentation.sendCharacterSync(int)
.
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.