FileLinkMetadata

public class FileLinkMetadata : Sharing.SharedLinkMetadata

The metadata of a file shared link.

  • The modification time set by the desktop client when the file was added to Dropbox. Since this time is not verified (the Dropbox server stores whatever the desktop client sends up), this should only be used for display purposes (such as sorting) and not, for example, to determine if a file has changed or not.

    Declaration

    Swift

    public let clientModified: Date
  • The last time the file was modified on Dropbox.

    Declaration

    Swift

    public let serverModified: Date
  • rev

    A unique identifier for the current revision of a file. This field is the same rev as elsewhere in the API and can be used to detect changes and avoid conflicts.

    Declaration

    Swift

    public let rev: String
  • The file size in bytes.

    Declaration

    Swift

    public let size: UInt64