setAccessLicense

fun setAccessLicense(licenseToken: String)

Activate a Ditto instance by setting a license token. You cannot sync with Ditto before you have activated it.

Parameters

licenseToken

the license token to activate the Ditto instance with, which you can find on the Ditto portal (https://portal.ditto.live).

Throws

Thrown if the provided licenseToken is expired or invalid.