Show / Hide Table of Contents

Interface ISearchSource

Defines the API contract for sources of search results that can be used with SearchViewModel.

Namespace: Esri.ArcGISRuntime.Toolkit.Maui
Assembly: Esri.ArcGISRuntime.Toolkit.Maui.dll
Syntax
public interface ISearchSource

Properties

Name Description
DefaultCalloutDefinition

Gets or sets the callout definition used for results by default.

DefaultSymbol

Gets or sets the symbol to be used for results by default.

DefaultZoomScale

Gets or sets the default zoom scale to be used for results from this source.

DisplayName

Gets or sets the display name for the source, which may be displayed in the UI.

MaximumResults

Gets or sets the maximum number of results to return when completing a search.

MaximumSuggestions

Gets or sets the maximum number of results to return when requesting search suggestions.

Placeholder

Gets or sets the placeholder used for this source, which may be displaye in the UI.

PreferredSearchLocation

Gets or sets the point to be used as an input to searches and suggestions.

SearchArea

Gets or sets the area to be used as a constraint for searches and suggestions.

Methods

Name Description
NotifyDeselected(SearchResult?)

Used to notify the source when the SearchViewModel has deselected a result, or all results if result is null.

NotifySelected(SearchResult)

Used to notify the source when the SearchViewModel has selected a result.

RepeatSearchAsync(string, Envelope, CancellationToken)

Repeats the last search, with results restricted to the current visible area.

SearchAsync(SearchSuggestion, CancellationToken)

Gets a list of search results for the given suggestions.

SearchAsync(string, CancellationToken)

Gets a list of search results for the given query.

SuggestAsync(string, CancellationToken)

Gets a list of suggestions for the given query.

  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX