- reqModes
- The desired modes to retrieve, as defined by Android.Text.TextUtils.GetCapsMode(Java.Lang.ICharSequence, System.Int32, System.Int32). These constants are defined so that you can simply pass the current EditorInfo.InputType value directly in to here.
Documentation for this section has not yet been entered.
Retrieve the current capitalization mode in effect at the current cursor position in the text. See Android.Text.TextUtils.GetCapsMode(Java.Lang.ICharSequence, System.Int32, System.Int32) for more information.
This method may fail either if the input connection has become invalid (such as its process crashing) or the client is taking too long to respond with the text (it is given a couple seconds to return). In either case, 0 is returned.
This method does not affect the text in the editor in any way, nor does it affect the selection or composing spans.
Editor authors: please be careful of race conditions in implementing this call. An IME can change the cursor position and use this method right away; you need to make sure the returned value is consistent with the results of the latest edits and changes to the cursor position.