InputMethodManager.UpdateSelection(View, Int32, Int32, Int32, Int32) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
現在の選択範囲を報告します。
[Android.Runtime.Register("updateSelection", "(Landroid/view/View;IIII)V", "")]
public void UpdateSelection(Android.Views.View? view, int selStart, int selEnd, int candidatesStart, int candidatesEnd);
[<Android.Runtime.Register("updateSelection", "(Landroid/view/View;IIII)V", "")>]
member this.UpdateSelection : Android.Views.View * int * int * int * int -> unit
パラメーター
- view
- View
- selStart
- Int32
- selEnd
- Int32
- candidatesStart
- Int32
- candidatesEnd
- Int32
- 属性
注釈
現在の選択範囲を報告します。
<strong>Editor 作成者</strong>は、エディターでカーソルが移動するたびにこのメソッドを呼び出す必要があります。 この操作に加えて、キーボードが表示されたりテキスト フィールドにフォーカスが変更されたりするたびに、EditorInfo#initialSelStartが呼び出されるたびに、エディターで常に現在のカーソル値をEditorInfo#initialSelEndおよびandroid.view.View#onCreateInputConnection(EditorInfo)する必要があります。
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。