TomTomSDKSearchUI

  • Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public struct LocationPreviewView : View
  • Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    @MainActor
    public final class LocationPreviewViewModel : ObservableObject
  • LastUserLocationProviderProtocol provides last user location that can be used to obtain the search results.

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public protocol LastUserLocationProviderProtocol
  • Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public enum SearchBarState : Equatable
  • SearchBarViewDelegate is responsible for returning search results and communicating search errors.

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public protocol SearchBarViewDelegate : AnyObject
  • SearchBarView provides input for the search phrase and returns results from the TomTomSDKSearch API.

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public class SearchBarView : UIView
    extension SearchBarView: UITextFieldDelegate
  • SearchBarViewConfiguration provides information necessary to configure aSearchBarView instance.

    Important

    This is a Public Preview API. It may be changed or removed at any time.

    Declaration

    Swift

    public struct SearchBarViewConfiguration
  • SearchBarViewConfigurationBuilder creates an SearchBarViewConfiguration object which can be used to configure a SearchBarView instance.

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public class SearchBarViewConfigurationBuilder
  • Custom closure that will be executed when a particular term is inserted in the search field.

    Important

    This is a Public Preview API. It may be changed or removed at any time.

    Declaration

    Swift

    public typealias SearchCommand = () -> ()
  • Enables injection of a custom phrase which can trigger custom behaviour. For example, if a user enters particular code in the search field, the app will execute the command.

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public struct SearchDeveloperCommand
  • Defines essential attributes of the search query

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public struct SearchQueryConfiguration
  • A view to display list of SearchResults.

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public class SearchResultsView : DesignableView
    extension SearchResultsView: UITableViewDelegate
    extension SearchResultsView: UITableViewDataSource
  • Defines appearance and behavior of the SearchResultsView instance-

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public class SearchResultsViewModel
  • Search suggestion data.

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public struct SearchSuggestion
  • SearchSuggestionSelectionHandler defines api for object being handler for suggestion selection callbacks.

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public protocol SearchSuggestionSelectionHandler
  • SearchSuggestionView displays a suggestion retrieved from the clipboard.

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public class SearchSuggestionView : SimpleItemView
  • SearchSuggestionsProviderProtocol defines api for object providing search suggestions.

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public protocol SearchSuggestionsProviderProtocol
  • SearchSuggestionProviderDelegate notifies about suggestions availability.

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public protocol SearchSuggestionProviderDelegate : AnyObject
  • SearchViewDelegate informs about certain user interactions with the search components.

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public protocol SearchViewDelegate : AnyObject
  • SearchViewConfiguration provides information necessary to configure aSearchView instance.

    Important

    This is a Public Preview API. It may be changed or removed at any time.

    Declaration

    Swift

    public struct SearchViewConfiguration
  • SearchingThemeProtocol defines the interface of the theme used for styling search components.

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public protocol SearchingThemeProtocol : ThemeProtocol
  • Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public protocol SearchingImagesThemeProtocol
  • Defines the Search Results Cell appearance.

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public protocol SearchResultsCellStyling
  • Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public struct SearchBarAttributes
  • SearchingTheme provides all styling elements required by the search components. It can be used as is, or custolmised for particular needs.

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public struct SearchingTheme : SearchingThemeProtocol
  • Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    open class StylableButton : UIButton
  • Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public class MainButton : StylableButton
  • Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public class SmallSecondaryButton : StylableButton
  • Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public struct StyledColor
  • Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public class StylableLabel : UILabel
  • Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public class HeaderLabel : StylableLabel
  • Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public class TitleLabel : StylableLabel
  • Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public class CaptionLabel : StylableLabel
  • Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public struct StylableComponents
  • Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public struct ButtonStyle
  • Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public struct ShadowStyle
  • Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public struct TextStyle
  • Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public protocol ButtonsThemeProtocol
  • A container of pre-defined colors to be used in SearchUI

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public protocol ColorsThemeProtocol
  • Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public protocol FontsThemeProtocol
  • Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public protocol ImagesThemeProtocol
  • A container of visual attributes to define appearance of labels in Search UI

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public protocol LabelsThemeProtocol
  • Implementation of the LabelsThemeProtocol that defines Search UI labels appearance

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public struct LabelsTheme : LabelsThemeProtocol
  • Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public protocol ShadowsThemeProtocol
  • Defines visual appearance for the Search UI

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public protocol ThemeProtocol
  • Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public class ButtonWithOnClickedCallback
  • Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public class SideButtons
  • Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public class BarWithSideButtonsView : UIView
  • Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    open class DesignableView : UIView
  • Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public protocol OverlayContainerSubviewDelegate : AnyObject
  • Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    open class OverlayContainerSubview : UIView
  • Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public class AlertActionWithCheckboxFeedback : AlertAction
  • Important

    This is a Public Preview API. It may be changed or removed at any time.

    Declaration

    Swift

    public typealias AlertButtonAction = () -> ()
  • Important

    This is a Public Preview API. It may be changed or removed at any time.

    Declaration

    Swift

    public class AlertButton : StylableButton
  • Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public class AlertAction
  • Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public struct AlertViewData : PopupData
  • Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    open class SimpleItemView : DesignableView
  • Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public protocol NetworkStateDetectorDelegate : AnyObject
  • Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public protocol NetworkStateDetectorProtocol
  • Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public enum NetworkState : Equatable
  • Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public enum NetworkType : Equatable