SwiftenumMomentsUI

enum MomentsUI.AssetType

Structure

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

inherits{}

Members 26

  1. casecase contact
  2. casecase livePhoto
  3. casecase map
  4. casecase mediaPodcast
  5. casecase mediaSong
  6. casecase mediaSongAlbum
  7. casecase mediaThirdParty
  8. casecase mediaThirdPartyAlbum
  9. casecase mediaThirdPartyArtist
  10. casecase motionActivityRun
  11. casecase motionActivityRunAndWalk
  12. casecase motionActivityWalk
  13. casecase multiPinMap
  14. casecase photo
  15. casecase poster
  16. casecase stateOfMind
  17. casecase video
  18. casecase workout
  19. casecase workoutGroup
  20. casecase workoutRoute
  21. funcassetTypeAsPluralString(count: Int, includeCount: Bool) -> String
  22. funclocalizedStringWithCount(Int) -> String
  23. initinit(MomentsUI.AssetViewModel) -> MomentsUI.AssetType?
  24. typealiastypealias RawValue = Swift.Int
  25. varvar pluralLocalizedString: String { get }
  26. varvar singularLocalizedString: String { get }
enum AssetType {
    case contact
    case map
    case multiPinMap
    case workout
    case workoutGroup
    case workoutRoute
    case stateOfMind
    case motionActivityRun
    case motionActivityWalk
    case motionActivityRunAndWalk
    case mediaSong
    case mediaSongAlbum
    case mediaPodcast
    case mediaThirdParty
    case mediaThirdPartyAlbum
    case mediaThirdPartyArtist
    case photo
    case poster
    case livePhoto
    case video

    init?(_: MomentsUI.AssetViewModel)

    var pluralLocalizedString: Swift.String {
        get
    }
    var singularLocalizedString: Swift.String {
        get
    }

    func assetTypeAsPluralString(count: Swift.Int, includeCount: Swift.Bool) -> Swift.String
    func localizedStringWithCount(_: Swift.Int) -> Swift.String
}