BaseInputConnection.GetCursorCapsMode(CapitalizationMode) 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.
The default implementation uses TextUtils.
[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
Implements
- Attributes
Remarks
The default implementation uses TextUtils.getCapsMode to get the cursor caps mode for the current selection position in the editable text, unless in fallback mode in which case 0 is always returned.
Java documentation for android.view.inputmethod.BaseInputConnection.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.