BasicPrivmxEndpoint

constructor(enableModule: Set<Modules>, userPrivateKey: String, solutionId: String, bridgeUrl: String)

Initializes modules and connects to PrivMX Bridge server using given parameters.

Parameters

enableModule

set of modules to initialize; should contain Modules.THREAD to enable Thread module or Modules.STORE to enable Store module

bridgeUrl

PrivMX Bridge server URL

solutionId

SolutionId of the current project

userPrivateKey

user private key used to authorize; generated from: CryptoApi.generatePrivateKey or CryptoApi.derivePrivateKey2