SearchInAppsSDK Framework Reference

SearchContents

@available(iOS, introduced: 14)
@objc
final class SearchContents

A collection of search content block data

  • The type of publisher that emits before the object has changed.

    Declaration

    Swift

    @available(iOS, introduced: 14)
    typealias ObjectWillChangePublisher = ObservableObjectPublisher
  • Request additional content (if available) using the same options as the original request.

    Declaration

    Swift

    @available(iOS, introduced: 14)
    @objc
    final func loadMoreContents() async throws -> [SearchContentBlockData]

    Return Value

    An array containing the additional search content.

  • The set of search content blocks ready to be displayed

    Declaration

    Swift

    @available(iOS, introduced: 14)
    @Published
    @objc
    final var searchContentBlocks: [SearchContentBlockData] { get }