InlineSuggestionsRequest.MaxSuggestionCount 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
回覆中預期最多建議數量。
public int MaxSuggestionCount { [Android.Runtime.Register("getMaxSuggestionCount", "()I", "", ApiSince=30)] get; }
[<get: Android.Runtime.Register("getMaxSuggestionCount", "()I", "", ApiSince=30)>]
member this.MaxSuggestionCount : int
屬性值
- 屬性
備註
回覆中預期最多建議數量。 必須是正值。 如果未設定,則預設為 SUGGESTION_COUNT_UNLIMITED 。
實務上建議最大建議數不應超過 <b>5</b> ,以提升效能考量。
Java 文件 android.view.inputmethod.InlineSuggestionsRequest.getMaxSuggestionCount()。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。