AbstractInputMethodService.AbstractInputMethodSessionImpl.UpdateSelection 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.
This method is called when the selection or cursor in the current target input field has changed.
[Android.Runtime.Register("updateSelection", "(IIIIII)V", "GetUpdateSelection_IIIIIIHandler")]
public abstract void UpdateSelection (int oldSelStart, int oldSelEnd, int newSelStart, int newSelEnd, int candidatesStart, int candidatesEnd);
[<Android.Runtime.Register("updateSelection", "(IIIIII)V", "GetUpdateSelection_IIIIIIHandler")>]
abstract member UpdateSelection : int * int * int * int * int * int -> unit
Parameters
- oldSelStart
- Int32
The previous text offset of the cursor selection start position.
- oldSelEnd
- Int32
The previous text offset of the cursor selection end position.
- newSelStart
- Int32
The new text offset of the cursor selection start position.
- newSelEnd
- Int32
The new text offset of the cursor selection end position.
- candidatesStart
- Int32
The text offset of the current candidate text start position.
- candidatesEnd
- Int32
The text offset of the current candidate text end position.
Implements
- Attributes
Remarks
This method is called when the selection or cursor in the current target input field has changed.
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.