PreviewResult

public class PreviewResult : CustomStringConvertible, JSONRepresentable

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

    public var description: String { get }