InlineSuggestionsRequest.MaxSuggestionCount Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
The maximum number of suggestions requested.
- 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.