SwiftenumSiriInformationSearch

enum SiriInformationSearch.CommonAudio.MediaType

Structure

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

inherits{}

Members 36

  1. funcstatic from(SiriOntology.UsoEntity_common_MediaItemType.DefinedValues?) -> SiriInformationSearch.CommonAudio.MediaType?
  2. varstatic var mappingMediaItemType: [SiriInformationSearch.CommonAudio.MediaType : INMediaItemType] { get }
  3. varstatic var mappingMediaType: [SiriOntology.UsoEntity_common_MediaItemType.DefinedValues : SiriInformationSearch.CommonAudio.MediaType?] { get }
  4. varstatic var mappingStationMediaItemType: [SiriInformationSearch.CommonAudio.MediaType : INMediaItemType] { get }
  5. casecase album
  6. casecase artist
  7. casecase audioBook
  8. casecase compilation
  9. casecase ep
  10. casecase episode
  11. casecase genre
  12. casecase iTunesU
  13. casecase lp
  14. casecase movie
  15. casecase music
  16. casecase musicPlaylist
  17. casecase musicVideo
  18. casecase news
  19. casecase playlist
  20. casecase podcast
  21. casecase podcastPromotionTopic
  22. casecase podcastStation
  23. casecase radioShow
  24. casecase radioStation
  25. casecase ringtone
  26. casecase show
  27. casecase single
  28. casecase song
  29. casecase sounds
  30. casecase station
  31. casecase tvShow
  32. casecase video
  33. funcisStation() -> Bool
  34. typealiastypealias RawValue = Swift.String
  35. varvar mediaItemType: INMediaItemType { get }
  36. varvar stationMediaItemType: INMediaItemType { get }
enum SiriInformationSearch.CommonAudio.MediaType {
    case genre
    case artist
    case video
    case playlist
    case station
    case podcastPromotionTopic
    case radioShow
    case song
    case iTunesU
    case podcast
    case musicVideo
    case music
    case news
    case tvShow
    case album
    case ringtone
    case lp
    case show
    case radioStation
    case ep
    case single
    case episode
    case podcastStation
    case sounds
    case compilation
    case movie
    case audioBook
    case musicPlaylist

    var mediaItemType: __C.INMediaItemType {
        get
    }
    var stationMediaItemType: __C.INMediaItemType {
        get
    }

    func isStation() -> Swift.Bool

    static let mappingMediaItemType: [SiriInformationSearch.CommonAudio.MediaType : __C.INMediaItemType]
    static let mappingMediaType: [SiriOntology.UsoEntity_common_MediaItemType.DefinedValues : SiriInformationSearch.CommonAudio.MediaType?]
    static let mappingStationMediaItemType: [SiriInformationSearch.CommonAudio.MediaType : __C.INMediaItemType]

    static func from(_: SiriOntology.UsoEntity_common_MediaItemType.DefinedValues?) -> SiriInformationSearch.CommonAudio.MediaType?
}