語言

InputMethodService.InputMethodSessionImpl.UpdateSelection 方法

定義

撥打 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

參數

oldSelStart
Int32

在本次更新前,選擇的起始偏移量已報告。

oldSelEnd
Int32

本次更新前所報告的選擇結束偏移量。

newSelStart
Int32

本次更新中報告的起始偏移。

newSelEnd
Int32

本次更新中報告的選擇結束偏移量。

candidatesStart
Int32

本次更新報告的候選文字起始偏移量。

candidatesEnd
Int32

本次更新報告的候選文字末尾偏移。

屬性

備註

撥打 InputMethodService#onUpdateSelection InputMethodService.onUpdateSelection()。

Java 文件 android.inputmethodservice.InputMethodService.InputMethodSessionImpl.updateSelection(int, int, int, int, int, int)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於