Udostępnij za pośrednictwem


BaseInputConnection.GetSelectedText(GetTextFlags) Method

Definition

The default implementation returns the text currently selected, or null if none is selected.

public string? GetSelectedText (Android.Views.InputMethods.GetTextFlags flags);
member this.GetSelectedText : Android.Views.InputMethods.GetTextFlags -> string

Parameters

flags
GetTextFlags

Returns

Remarks

The default implementation returns the text currently selected, or null if none is selected.

Java documentation for android.view.inputmethod.BaseInputConnection.getSelectedText(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.

Applies to