PrivMX DOCS
API Reference/PrivMX Endpoint Swift Extra/Core

PMXEventSubscriptionRequest

Enum handling proper registrations for events.

Fields

thread(eventType:selectorType:selectorId:)

Enum Case Events from the Thread module on a corresponding selector

store(eventType:selectorType:selectorId:)

Enum Case Events form the Store module on a corresponding selector

inbox(eventType:selectorType:selectorId:)

Enum Case Inbox module Events on a corresponding selector

kvdb(eventType:selectorType:selectorId:)

Enum Case Events from the KVDB module on a corresponding selector

kvdbEntry(eventType:kvdbId:entryKey:)

Enum Case Events about particualr KVDB Entry

custom(channelName:contextId:)

Enum Case Events from the Event module, from provided channelName

library(eventType:)

Enum Case Events that are emitted by the endpoint library itself

core(eventType:contextId:)

Enum Case Events about Users

Static Methods

==(::)

Returns a Boolean value indicating whether two values are equal. Equality is the inverse of inequality. For any values a and b, a == b implies that a != b is false.

Params

lhs

PMXEventSubscriptionRequest

A value to compare.

rhs

PMXEventSubscriptionRequest

Another value to compare.

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

Returns

Bool ·

Methods

hash(into:)

Hashes the essential components of this value by feeding them into the given hasher. Implement this method to conform to the Hashable protocol. The components used for hashing must be the same as the components compared in your type’s == operator implementation. Call hasher.combine(_:) with each of these components.

Params

hasher

inout Hasher

The hasher to use when combining the components of this instance.

public func hash(into hasher: inout Hasher)

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.