InputConnectionWrapper.CommitCompletion(CompletionInfo) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將使用者從先前報告的可能完成中選擇的完成提交給 InputMethodSession#displayCompletions(CompletionInfo[])或 InputMethodManager#displayCompletions(View, CompletionInfo[])。
[Android.Runtime.Register("commitCompletion", "(Landroid/view/inputmethod/CompletionInfo;)Z", "GetCommitCompletion_Landroid_view_inputmethod_CompletionInfo_Handler")]
public virtual bool CommitCompletion(Android.Views.InputMethods.CompletionInfo? text);
[<Android.Runtime.Register("commitCompletion", "(Landroid/view/inputmethod/CompletionInfo;)Z", "GetCommitCompletion_Landroid_view_inputmethod_CompletionInfo_Handler")>]
abstract member CommitCompletion : Android.Views.InputMethods.CompletionInfo -> bool
override this.CommitCompletion : Android.Views.InputMethods.CompletionInfo -> bool
參數
- text
- CompletionInfo
承諾的完成。
傳回
目標連線回傳的值。
實作
- 屬性
備註
將使用者從先前報告的可能完成中選擇的完成提交給 InputMethodSession#displayCompletions(CompletionInfo[])或 InputMethodManager#displayCompletions(View, CompletionInfo[])。 這會導致使用者從實際介面選擇完成的行為。 在其他方面,其行為類似 commitText(CharSequence,int)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。