SwiftactorPhotosUICore

actor PhotosUICore.OneUpSharePlaySessionRecipientJournal.Library

Structure

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

inherits{}

Members 6

  1. fieldvar $defaultActor: Builtin.DefaultActorStorage+0x10
  2. fieldvar attachmentIDs: Set<Foundation.UUID>+0x70
  3. fieldvar imageEntries: [String : PhotosUICore.OneUpSharePlaySessionRecipientJournal<A>.Library.ImageEntry]+0x78
  4. fieldvar livePhotoEntries: [String : PhotosUICore.OneUpSharePlaySessionRecipientJournal<A>.Library.LivePhotoEntry]+0x88
  5. fieldlet messenger: A.OneUpSharePlayConfiguration.Messenger
  6. fieldvar streamingVideoEntries: [String : PhotosUICore.OneUpSharePlaySessionRecipientJournal<A>.Library.StreamingVideoEntry]+0x80
actor PhotosUICore.OneUpSharePlaySessionRecipientJournal.Library {
    struct ImageDataLoadResult {
        let imageData: Foundation.Data
        let uniformTypeIdentifier: Swift.String?
        let isSpatial: Swift.Bool
        let isFullResolution: Swift.Bool
    }
    actor ImageEntry {
        struct ImageAttachment {
            let attachment: A.Journal.Attachment
            let attachmentMetadata: PhotosUICore.OneUpSharePlayAttachmentAssetMetadata
            let imageMetadata: PhotosUICore.OneUpSharePlayAttachmentAssetMetadata.ImageContentMetadata
        }
        let assetID: Swift.String
        var availableImages: [PhotosUICore.OneUpSharePlayImageLoadResult]
        var availableImageData: Swift.Result<PhotosUICore.OneUpSharePlaySessionRecipientJournal<A>.Library.ImageDataLoadResult, any Swift.Error>?
        var hasAllResources: Swift.Bool
        var imageLoadContinuations: [Swift.Int : Swift.AsyncThrowingStream<PhotosUICore.OneUpSharePlayImageLoadResult, any Swift.Error>.Continuation]
        var imageDataLoadContinuations: [Swift.Int : (continuation: Swift.CheckedContinuation<PhotosUICore.OneUpSharePlaySessionRecipientJournal<A>.Library.ImageDataLoadResult, any Swift.Error>, requiresSpatialStereo: Swift.Bool, requiresFullResolution: Swift.Bool)]
        var attachmentLoadSubscriptions: [Combine.AnyCancellable]
        var pendingAttachments: [PhotosUICore.OneUpSharePlaySessionRecipientJournal<A>.Library.ImageEntry.ImageAttachment]
    }
    actor StreamingVideoEntry {
        enum StreamingFormat {
            case streamedMediaItem(PhotosUICore.OneUpSharePlayStreamingVideoItem.Format.MediaItemParameters)
            case downloadedMediaItem(Foundation.URL)
            case streamedURL(Foundation.URL)
            case unavailable
        }
        let assetID: Swift.String
        var pendingDownloadFormat: PhotosUICore.OneUpSharePlayStreamingVideoItem.Format?
        var availableStreamingFormat: Swift.Result<PhotosUICore.OneUpSharePlaySessionRecipientJournal<A>.Library.StreamingVideoEntry.StreamingFormat, any Swift.Error>?
        var loadContinuations: [Swift.Int : Swift.CheckedContinuation<__C.AVPlayerItem, any Swift.Error>]
        var assetLoadSubscription: Combine.AnyCancellable?
    }
    actor LivePhotoEntry {
        let assetID: Swift.String
        var photoFileURL: Foundation.URL?
        var videoFileURL: Foundation.URL?
        var hasAllResources: Swift.Bool
        var assetLoadSubscription: Combine.AnyCancellable?
        var loadContinuations: [Swift.Int : Swift.CheckedContinuation<[Foundation.URL], any Swift.Error>]
        var pendingAttachment: (attachment: A.Journal.Attachment, metadata: PhotosUICore.OneUpSharePlayAttachmentAssetMetadata)?
    }
    enum LoadError {
        case videoURLPlayerItemCreationFailure(any Swift.Error)
        case sessionNoLongerExists
        case imageCreationFailure
        case mediaItemPlayerItemCreationFailure
        case assetDownloadExtensionNotAvailable
    }
    var attachmentIDs: Swift.Set<Foundation.UUID>
    var imageEntries: [Swift.String : PhotosUICore.OneUpSharePlaySessionRecipientJournal<A>.Library.ImageEntry]
    var streamingVideoEntries: [Swift.String : PhotosUICore.OneUpSharePlaySessionRecipientJournal<A>.Library.StreamingVideoEntry]
    var livePhotoEntries: [Swift.String : PhotosUICore.OneUpSharePlaySessionRecipientJournal<A>.Library.LivePhotoEntry]
    let messenger: A.Messenger
}