validate

abstract fun validate(data: String, context: IEventContext): ValidationResultType

Validates event id and event data before recording it locally. Used to ensure that no personal or proprietary data is recorded.

Parameters

data

what is validated. Event id or the value of event data field.

context

whole event context, i.e. both event id and event data.