Package apple.uikit.protocol
Interface UISearchSuggestion
-
- All Known Implementing Classes:
UISearchSuggestionItem
public interface UISearchSuggestionAPI-Since: 16.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default @Nullable UIImageiconImage()Icon that represents this search suggestion item@Nullable NSAttributedStringlocalizedAttributedSuggestion()If non-null, will be displayed as the search string instead of localizedSuggestion API-Since: 16.0default @Nullable java.lang.StringlocalizedDescription()The localized description used as accessibility string@Nullable java.lang.StringlocalizedSuggestion()The localized suggestion that will be displayed as the search string@Nullable java.lang.ObjectrepresentedObject()User information API-Since: 16.0voidsetRepresentedObject(@Nullable java.lang.Object value)User information API-Since: 16.0
-
-
-
Method Detail
-
iconImage
@Nullable default @Nullable UIImage iconImage()
Icon that represents this search suggestion item
-
localizedAttributedSuggestion
@Nullable @Nullable NSAttributedString localizedAttributedSuggestion()
If non-null, will be displayed as the search string instead of localizedSuggestion API-Since: 16.0
-
localizedDescription
@Nullable default @Nullable java.lang.String localizedDescription()
The localized description used as accessibility string
-
localizedSuggestion
@Nullable @Nullable java.lang.String localizedSuggestion()
The localized suggestion that will be displayed as the search string
-
representedObject
@Nullable @Nullable java.lang.Object representedObject()
User information API-Since: 16.0
-
setRepresentedObject
void setRepresentedObject(@Nullable @Nullable java.lang.Object value)User information API-Since: 16.0
-
-