Condividi tramite


SuggestionsInfo.ResultAttrDontShowUiForSuggestions Field

Definition

Caution

This constant will be removed in the future version. Use Android.Views.TextService.SuggestionsAttributes enum directly instead of this field.

Flag of the attributes of the suggestions that can be obtained by #getSuggestionsAttributes: this tells that the text service has an alternative way to show UI for the list of correction suggestions to the user.

[Android.Runtime.Register("RESULT_ATTR_DONT_SHOW_UI_FOR_SUGGESTIONS", ApiSince=31)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Views.TextService.SuggestionsAttributes enum directly instead of this field.", true)]
public const Android.Views.TextService.SuggestionsAttributes ResultAttrDontShowUiForSuggestions = 16;
[<Android.Runtime.Register("RESULT_ATTR_DONT_SHOW_UI_FOR_SUGGESTIONS", ApiSince=31)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Views.TextService.SuggestionsAttributes enum directly instead of this field.", true)>]
val mutable ResultAttrDontShowUiForSuggestions : Android.Views.TextService.SuggestionsAttributes

Field Value

Value = 16

Implements

Attributes

Remarks

Flag of the attributes of the suggestions that can be obtained by #getSuggestionsAttributes: this tells that the text service has an alternative way to show UI for the list of correction suggestions to the user. When this flag is set, the receiver of the result suggestions should mark the erroneous part of the text with a text signifier (for example, underline), but should not show any UI for the list of correction suggestions to the user (for example, in a popup window).

Java documentation for android.view.textservice.SuggestionsInfo.RESULT_ATTR_DONT_SHOW_UI_FOR_SUGGESTIONS.

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