Språk

InputConnectionWrapper.GetCursorCapsMode(CapitalizationMode) Method

Definition

Retrieve the current capitalization mode in effect at the current cursor position in the text.

[Android.Runtime.Register("getCursorCapsMode", "(I)I", "GetGetCursorCapsMode_IHandler")]
public virtual Android.Text.CapitalizationMode GetCursorCapsMode(Android.Text.CapitalizationMode reqModes);
[<Android.Runtime.Register("getCursorCapsMode", "(I)I", "GetGetCursorCapsMode_IHandler")>]
abstract member GetCursorCapsMode : Android.Text.CapitalizationMode -> Android.Text.CapitalizationMode
override this.GetCursorCapsMode : Android.Text.CapitalizationMode -> Android.Text.CapitalizationMode

Parameters

reqModes
CapitalizationMode

The desired modes to retrieve, as defined by M:Android.Text.TextUtils.GetCapsMode(Java.Lang.ICharSequence,System.Int32,System.Int32). These constants are defined so that you can simply pass the current InputType value directly in to here.

Returns

the caps mode flags that are in effect at the current cursor position. See TYPE_TEXT_FLAG_CAPS_* in InputType.

Implements

Attributes

Remarks

Retrieve the current capitalization mode in effect at the current cursor position in the text. See TextUtils.getCapsMode for more information.

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