IInputMethodSession.AppPrivateCommand(String, Bundle) 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.
Process a private command sent from the application to the input method.
[Android.Runtime.Register("appPrivateCommand", "(Ljava/lang/String;Landroid/os/Bundle;)V", "GetAppPrivateCommand_Ljava_lang_String_Landroid_os_Bundle_Handler:Android.Views.InputMethods.IInputMethodSessionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void AppPrivateCommand (string? action, Android.OS.Bundle? data);
[<Android.Runtime.Register("appPrivateCommand", "(Ljava/lang/String;Landroid/os/Bundle;)V", "GetAppPrivateCommand_Ljava_lang_String_Landroid_os_Bundle_Handler:Android.Views.InputMethods.IInputMethodSessionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member AppPrivateCommand : string * Android.OS.Bundle -> unit
Parameters
- action
- String
Name of the command to be performed. This <em>must</em> be a scoped name, i.e. prefixed with a package name you own, so that different developers will not create conflicting commands.
- data
- Bundle
Any data to include with the command.
- Attributes
Remarks
Process a private command sent from the application to the input method. This can be used to provide domain-specific features that are only known between certain input methods and their clients.
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.