Share via


InputMethodService.OnInlineSuggestionsResponse Method

Definition

Called when Autofill responds back with InlineSuggestionsResponse containing inline suggestions.

[Android.Runtime.Register("onInlineSuggestionsResponse", "(Landroid/view/inputmethod/InlineSuggestionsResponse;)Z", "GetOnInlineSuggestionsResponse_Landroid_view_inputmethod_InlineSuggestionsResponse_Handler", ApiSince=30)]
public virtual bool OnInlineSuggestionsResponse (Android.Views.InputMethods.InlineSuggestionsResponse response);
[<Android.Runtime.Register("onInlineSuggestionsResponse", "(Landroid/view/inputmethod/InlineSuggestionsResponse;)Z", "GetOnInlineSuggestionsResponse_Landroid_view_inputmethod_InlineSuggestionsResponse_Handler", ApiSince=30)>]
abstract member OnInlineSuggestionsResponse : Android.Views.InputMethods.InlineSuggestionsResponse -> bool
override this.OnInlineSuggestionsResponse : Android.Views.InputMethods.InlineSuggestionsResponse -> bool

Parameters

response
InlineSuggestionsResponse

InlineSuggestionsResponse passed back by Autofill.

Returns

Whether the IME will use and render the inline suggestions.

Attributes

Remarks

Called when Autofill responds back with InlineSuggestionsResponse containing inline suggestions.

Should be implemented by subclasses.

Java documentation for android.inputmethodservice.InputMethodService.onInlineSuggestionsResponse(android.view.inputmethod.InlineSuggestionsResponse).

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