PrivMX DOCS
API Reference/PrivMX Endpoint Swift Extra/Types

privmx.endpoint.inbox.Inbox

Holds all available information about an Inbox.

Fields

id

String The unique identifier for the inbox. This property returns the inboxId as a String, which serves as the unique identifier for the inbox.

Static Methods

==(::)

Compares two Inbox instances for equality. This function compares multiple key properties of the two Inbox instances, including inboxId, contextId, createDate, creator, privateMeta, publicMeta, filesCount, lastFileDate, lastModificationDate, lastModifier, managers, users, version, and statusCode.

Params

lhs

privmx.endpoint.inbox.Inbox

The left-hand side Inbox instance.

rhs

privmx.endpoint.inbox.Inbox

The right-hand side Inbox instance.

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

Returns

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

Methods

hash(into:)

Generates a hash value for the Inbox instance. This function combines several properties, including inboxId, lastModificationDate, and version to generate a unique hash value for the inbox.

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.

PrivMX Endpoint Swift v2.3

This package is not up to date with the core documentation. Some of the features you've seen described in other parts of the documentation might not be mentioned here. Those changes do not influence compatibility, however