Client code examples

Applicable to all following examples

val clientService = ClientService()

Setup master key (initial run)

val masterKey = "123456".toByteArray()

clientService.createMasterKey(masterKey)

Session setup

val masterKey = "123456".toByteArray()

clientService.unlockWithMasterKey(masterKey)
clientService.setupSessionService()

Create a session

val newSession = clientService.sessionService.createSession("sess01")

clientService.sessionService.selectSession(newSession.sessionId)

clientService.setup()

Create EDV

Create document

Update document

Load document

Delete document

Search document

Get all documents in EDV

Retrieve tree of EDV

Enable notification channel

Diconnect notification channels

Export session

Last updated

Was this helpful?