PrivmxEndpoint
Extends BasicPrivmxEndpoint with event callbacks dispatcher.
Parameters
set of modules to initialize; should contain Modules.THREAD to enable Thread module or Modules.STORE to enable Store module
Bridge Server URL
SolutionId of the current project
user private key used to authorize; generated from: CryptoApi.generatePrivateKey or CryptoApi.derivePrivateKey2
PrivMX Bridge server instance verification options using a PKI server
Throws
thrown if there is an exception during init modules
thrown if there is a problem during login
thrown if there is an unknown problem during login
Constructors
Functions
Handles event and invokes all related callbacks. It should only be called by event loops.
Registers single callback for a specified event type. If you need to register multiple callbacks simultaneously, consider using the registerManyCallbacks.
Registers multiple callbacks in a batch. This method allows for the registration of several event listeners at once, which is more efficient than registering each callback individually, because the number of requests can be minimized.
Unregisters all callbacks registered by registerCallback.
Unregisters all callbacks associated with the given group references.