TomTomSDKSearchUI
-
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public struct LocationPreviewView : View
-
Important
This is a Public Preview API. It may be changed or removed at any time.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.Declaration
Swift
public protocol LastUserLocationProviderProtocol
-
Important
This is a Public Preview API. It may be changed or removed at any time.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.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.Declaration
Swift
public class SearchBarView : UIView
extension SearchBarView: UITextFieldDelegate
-
SearchBarViewConfiguration provides information necessary to configure a
SearchBarView
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 aSearchBarView
instance.Important
This is a Public Preview API. It may be changed or removed at any time.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.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.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.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.Declaration
Swift
public class SearchResultsViewModel
-
Search suggestion data.
Important
This is a Public Preview API. It may be changed or removed at any time.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.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.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.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.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.Declaration
Swift
public protocol SearchViewDelegate : AnyObject
-
SearchView` provides the full functionality with all available search components in default layout.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public class SearchView : BarContainerView
extension SearchView: SearchBarViewDelegate
extension SearchView: SearchSuggestionSelectionHandler
-
SearchViewConfiguration provides information necessary to configure a
SearchView
instance.Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public struct SearchViewConfiguration
-
SearchViewConfigurationBuilder creates an
SearchViewConfiguration
object which can be used to configure aSearchView
instance.Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public class SearchViewConfigurationBuilder
-
Declaration
Swift
extension SearchViewModel: SearchSuggestionProviderDelegate
-
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.Declaration
Swift
public protocol SearchingThemeProtocol : ThemeProtocol
-
Important
This is a Public Preview API. It may be changed or removed at any time.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.Declaration
Swift
public protocol SearchResultsCellStyling
-
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public struct SearchBarAttributes
-
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public struct SearchingThemeImages : SearchingImagesThemeProtocol
-
Implements a default style for the Search Results cell
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public struct SearchingResultsCellStyle : SearchResultsCellStyling
-
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.Declaration
Swift
public struct SearchingTheme : SearchingThemeProtocol
-
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
open class StylableButton : UIButton
-
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public class ClearButton : StylableButton
-
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public class MainButton : StylableButton
-
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public class SecondaryButton : StylableButton
-
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public class PrimaryLargeButton : StylableButton
-
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public class PrimaryLargeSecondaryButton : StylableButton
-
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public class SmallButton : StylableButton
-
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public class SmallSecondaryButton : StylableButton
-
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public struct StyledColor
-
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public class StylableLabel : UILabel
-
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public class HeaderLabel : StylableLabel
-
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public class PageTitleLabel : StylableLabel
-
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public class TitleLabel : StylableLabel
-
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public class SubtitleLabel : StylableLabel
-
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public class BodyLargeLabel : StylableLabel
-
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public class BodyParagraphLabel : StylableLabel
-
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public class CaptionLabel : StylableLabel
-
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public struct StylableComponents
-
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public struct ButtonStyle
-
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public struct ShadowStyle
-
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public struct TextStyle
-
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol ButtonsThemeProtocol
-
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public struct ButtonsTheme : 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.Declaration
Swift
public protocol ColorsThemeProtocol
-
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol FontsThemeProtocol
-
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol ImagesThemeProtocol
-
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public struct CommonImages : 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.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.Declaration
Swift
public struct LabelsTheme : LabelsThemeProtocol
-
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol ShadowsThemeProtocol
-
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public struct ShadowsTheme : ShadowsThemeProtocol
-
Defines visual appearance for the Search UI
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol ThemeProtocol
-
An implementation of
ThemeProtocol
to define visual appearance for the Search UIImportant
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public struct Theme : ThemeProtocol
-
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
open class BarContainerView : OverlayContainerSubview
-
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public class ButtonWithOnClickedCallback
-
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public class SideButtons
-
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol OverlayContainerSubviewDelegate : AnyObject
-
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
open class OverlayContainerSubview : UIView
-
Declaration
Swift
extension OverlayContainerViewController: OverlayContainerSubviewDelegate
-
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public typealias AlertButtonActionCheckboxFeedback = (Bool?) -> ()
-
Important
This is a Public Preview API. It may be changed or removed at any time.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.Declaration
Swift
public class AlertAction
-
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public struct AlertViewData : PopupData
-
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
open class SimpleItemView : DesignableView
-
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol NetworkStateDetectorDelegate : AnyObject
-
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol NetworkStateDetectorProtocol
-
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public class NetworkStateDetector : NetworkStateDetectorProtocol
-
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public enum NetworkState : Equatable
-
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public enum NetworkType : Equatable