Freigeben über


InlineSuggestionsRequest.MaxSuggestionCount Property

Definition

Max number of suggestions expected from the response.

public int MaxSuggestionCount { [Android.Runtime.Register("getMaxSuggestionCount", "()I", "", ApiSince=30)] get; }
[<get: Android.Runtime.Register("getMaxSuggestionCount", "()I", "", ApiSince=30)>]
member this.MaxSuggestionCount : int

Property Value

Attributes

Remarks

Max number of suggestions expected from the response. It must be a positive value. Defaults to SUGGESTION_COUNT_UNLIMITED if not set.

In practice, it is recommended that the max suggestion count does not exceed <b>5</b> for performance reasons.

Java documentation for android.view.inputmethod.InlineSuggestionsRequest.getMaxSuggestionCount().

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