LinkMetadata

public class LinkMetadata : CustomStringConvertible, JSONRepresentable

Metadata for a shared link. This can be either a PathLinkMetadata or CollectionLinkMetadata.

  • url

    URL of the shared link.

    Declaration

    Swift

    public let url: String
  • Who can access the link.

    Declaration

    Swift

    public let visibility: Sharing.Visibility
  • Expiration time, if set. By default the link won’t expire.

    Declaration

    Swift

    public let expires: Date?
  • Declaration

    Swift

    public var description: String { get }