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
.
-
The attachment’s ID.
Declaration
Swift
public var id: String { get }
-
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 }
-
Declaration
Swift
public static func == (lhs: DittoAttachmentToken, rhs: DittoAttachmentToken) -> Bool
-
Declaration
Swift
public func hash(into hasher: inout Hasher)