SearchInAppsSDK Framework Reference

  • The ContextualSearchRuntime class is used for issuing contextual search requests within an app and can be reused throughout its lifecycle.

  • This class provides methods for retrieving search content, suggestions, and trending searches based on specified options.

  • Each method, such as getSearchContent, getSearchSuggestions, and getTrendingSearches, accepts input options to tailor the search results.

  • A new ContextualSearchRuntime instance can be created using its initializer init(), preferably at app startup for optimal performance.

ContextualSearchRuntime

@objc
final class ContextualSearchRuntime

Runtime for issuing contextual search requests.

The runtime can be reused across the app after it is initialized.