DittoAttachmentToken

public class DittoAttachmentToken
extension DittoAttachmentToken: Equatable
extension DittoAttachmentToken: Hashable

Serves as a token for a specific attachment that you can pass to a call to fetchAttachment on a DittoCollection.

  • id

    The attachment’s ID.

    Declaration

    Swift

    public var id: String { get }
  • len

    The attachment’s size given as number of bytes.

    Declaration

    Swift

    public var len: Int { get }
  • The attachment’s metadata.

    Declaration

    Swift

    public var metadata: [String : String] { get }

Equatable

  • Declaration

    Swift

    public static func == (lhs: DittoAttachmentToken, rhs: DittoAttachmentToken) -> Bool

Hashable

  • Declaration

    Swift

    public func hash(into hasher: inout Hasher)