LicenseEngineEventData

class LicenseEngineEventData(val objectType: EngineEventDataObjectType = EngineEventDataObjectType.LICENSE_ENGINE_EVENT, val type: EngineEventDataType, val publicationToken: String, val reason: String?, val userToken: String) : EngineEventData

Used for events related to Colibrio License Server validation.

licenseReadingSessionBlocked

Event fired when Colibrio License server decided to block the Reading Session. This can happen:

  • if the License API key or secret is invalid.

  • if the device is offline and there is no Offline Reading Session available on the device.

If the Reading Session is blocked continuously for a grace period exceeding 30 days, the Reading system functionality may be limited. Please refer to your Product Commercial Agreement for details.

licenseReadingSessionContinued

Event fired when Colibrio License server continued an existing Reading Session instead of registering a new one. The Offline Reading Session stored on the device is also updated.

licenseReadingSessionOffline

Event fired when device is offline, but an Offline Reading Session is available.

licenseReadingSessionStarted

Event fired when a new Reading Session has been registered with the Colibrio License server. The Reading Session is also stored on the device (Offline Reading Session) and will be valid for the duration defined in your Product Commercial Agreement.

Constructors

Link copied to clipboard
fun LicenseEngineEventData(objectType: EngineEventDataObjectType = EngineEventDataObjectType.LICENSE_ENGINE_EVENT, type: EngineEventDataType, publicationToken: String, reason: String?, userToken: String)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun serialize(generator: JsonGenerator)

Properties

Link copied to clipboard

The type of engine event object this JSON structure represents.

Link copied to clipboard

The publication token of the reading session.

Link copied to clipboard

Additional information why the Colibrio License Server blocked the reading session. Only set if 'type' is 'licenseReadingSessionBlocked'

Link copied to clipboard

The type of event.

Link copied to clipboard

The user token of the reading session.