PrivMX DOCS
API Reference/PrivMX Endpoint Swift Extra/Types

privmx.endpoint.kvdb.KvdbEntry

Holds all available information about a Entry.

Fields

id

String The unique identifier for the entry. This property returns a string in the key.

Static Methods

==(::)

Compares two KvdbEntry instances for equality.

Params

lhs

privmx.endpoint.kvdb.KvdbEntry

The left-hand side KvdbEntry instance.

rhs

privmx.endpoint.kvdb.KvdbEntry

The right-hand side KvdbEntry instance.

public static func == (
lhs: privmx.endpoint.kvdb.KvdbEntry,
rhs: privmx.endpoint.kvdb.KvdbEntry
) -> Bool

Returns

Bool · true if all relevant fields of both files are equal, otherwise false.

Methods

hash(into:)

Generates a hash value for the KvdbEntry instance. This function combines the info property into the hash to uniquely identify the file.

Params

hasher

inout Hasher

The Hasher instance used to compute the hash value.

public func hash(into hasher: inout Hasher) -> Void

We use cookies on our website. We use them to ensure the proper functioning of the site and, if you agree, for purposes we set, such as analytics or marketing.