Android.Views.InputMethods.IInputMethodSession.UpdateSelection Method
This method is called when the selection or cursor in the current target input field has changed.

Syntax

[Android.Runtime.Register("updateSelection", "(IIIIII)V", "GetUpdateSelection_IIIIIIHandler:Android.Views.InputMethods.IInputMethodSessionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void UpdateSelection (int oldSelStart, int oldSelEnd, int newSelStart, int newSelEnd, int candidatesStart, int candidatesEnd)

Parameters

oldSelStart
The previous text offset of the cursor selection start position.
oldSelEnd
The previous text offset of the cursor selection end position.
newSelStart
The new text offset of the cursor selection start position.
newSelEnd
The new text offset of the cursor selection end position.
candidatesStart
The text offset of the current candidate text start position.
candidatesEnd
The text offset of the current candidate text end position.

Remarks

This method is called when the selection or cursor in the current target input field has changed.

[Android Documentation]

Requirements

Namespace: Android.Views.InputMethods
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 3