PreviewResult

open class PreviewResult : CustomStringConvertible

The PreviewResult struct

  • Metadata corresponding to the file received as an argument. Will be populated if the endpoint is called with a path (ReadPath).

    Declaration

    Swift

    public let fileMetadata: Files.FileMetadata?
  • Minimal metadata corresponding to the file received as an argument. Will be populated if the endpoint is called using a shared link (SharedLinkFileInfo).

    Declaration

    Swift

    public let linkMetadata: Files.MinimalFileLinkMetadata?
  • Declaration

    Swift

    open var description: String { get }