SwiftenumOmniSearchTypes

enum OmniSearchTypes.SearchResultType

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

Members 17

  1. varstatic var caseDisplayRepresentations: [OmniSearchTypes.SearchResultType : AppIntents.DisplayRepresentation] { get }
  2. varstatic var typeDisplayRepresentation: AppIntents.TypeDisplayRepresentation { get set }
  3. casecase answer
  4. casecase appEntity
  5. casecase application
  6. casecase emptyPlaceholder
  7. casecase event
  8. casecase global
  9. casecase idCard
  10. casecase media
  11. casecase onScreen
  12. casecase spotlight
  13. typealiastypealias AllCases = Swift.Array<OmniSearchTypes.SearchResultType>
  14. typealiastypealias RawValue = Swift.String
  15. typealiastypealias Specification = AppIntents.EmptyResolverSpecification<OmniSearchTypes.SearchResultType>
  16. typealiastypealias UnwrappedType = OmniSearchTypes.SearchResultType
  17. typealiastypealias ValueType = OmniSearchTypes.SearchResultType
enum SearchResultType {
    case emptyPlaceholder
    case appEntity
    case application
    case answer
    case global
    case spotlight
    case event
    case idCard
    case media
    case onScreen

    static var caseDisplayRepresentations: [OmniSearchTypes.SearchResultType : AppIntents.DisplayRepresentation] {
        get
    }
    static var typeDisplayRepresentation: AppIntents.TypeDisplayRepresentation {
        get
        set
    }
}