Language

InputMethodService.InputMethodSessionImpl.UpdateSelection Method

Definition

Call InputMethodService#onUpdateSelection InputMethodService.onUpdateSelection().

[Android.Runtime.Register("updateSelection", "(IIIIII)V", "GetUpdateSelection_IIIIIIHandler")]
public override void UpdateSelection(int oldSelStart, int oldSelEnd, int newSelStart, int newSelEnd, int candidatesStart, int candidatesEnd);
[<Android.Runtime.Register("updateSelection", "(IIIIII)V", "GetUpdateSelection_IIIIIIHandler")>]
override this.UpdateSelection : int * int * int * int * int * int -> unit

Parameters

oldSelStart
Int32

The start offset reported for the selection before this update.

oldSelEnd
Int32

The end offset reported for the selection before this update.

newSelStart
Int32

The start offset reported for the selection in this update.

newSelEnd
Int32

The end offset reported for the selection in this update.

candidatesStart
Int32

The start offset of the candidate text reported for this update.

candidatesEnd
Int32

The end offset of the candidate text reported for this update.

Attributes

Remarks

Call InputMethodService#onUpdateSelection InputMethodService.onUpdateSelection().

Java documentation for android.inputmethodservice.InputMethodService.InputMethodSessionImpl.updateSelection(int, int, int, int, int, 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