Aracılığıyla paylaş


TextView.OnPrivateIMECommand(String, Bundle) Method

Definition

Called by the framework in response to a private command from the current method, provided by it calling InputConnection#performPrivateCommand InputConnection.performPrivateCommand().

[Android.Runtime.Register("onPrivateIMECommand", "(Ljava/lang/String;Landroid/os/Bundle;)Z", "GetOnPrivateIMECommand_Ljava_lang_String_Landroid_os_Bundle_Handler")]
public virtual bool OnPrivateIMECommand (string? action, Android.OS.Bundle? data);
[<Android.Runtime.Register("onPrivateIMECommand", "(Ljava/lang/String;Landroid/os/Bundle;)Z", "GetOnPrivateIMECommand_Ljava_lang_String_Landroid_os_Bundle_Handler")>]
abstract member OnPrivateIMECommand : string * Android.OS.Bundle -> bool
override this.OnPrivateIMECommand : string * Android.OS.Bundle -> bool

Parameters

action
String

The action name of the command.

data
Bundle

Any additional data for the command. This may be null.

Returns

Return true if you handled the command, else false.

Attributes

Remarks

Called by the framework in response to a private command from the current method, provided by it calling InputConnection#performPrivateCommand InputConnection.performPrivateCommand().

Java documentation for android.widget.TextView.onPrivateIMECommand(java.lang.String, android.os.Bundle).

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