Label Result Update Type

Defined in package com.scandit.datacapture.label.ui.overlay.validation

LabelResultUpdateType
interface LabelResultUpdateType

Added in version 8.2.0

A sealed interface representing the type of label result update in the validation flow.

This type distinguishes between different stages of label field updates:

  • Synchronous updates from immediate processing

  • Asynchronous updates when processing starts

  • Asynchronous updates when processing finishes

Sync
class Sync : LabelResultUpdateType

Added in version 8.2.0

Indicates a synchronous update from immediate processing.

AsyncStarted
class AsyncStarted : LabelResultUpdateType

Added in version 8.2.0

Indicates that asynchronous processing has started for a frame. Contains an ID that links this event with the corresponding AsyncFinished event.

id
val id: Long

Added in version 8.2.0

The unique identifier for this asynchronous operation.

AsyncFinished
class AsyncFinished : LabelResultUpdateType

Added in version 8.2.0

Indicates that asynchronous processing has completed and results are available. Contains an ID that links this event with the corresponding AsyncStarted event.

id
val id: Long

Added in version 8.2.0

The unique identifier for this asynchronous operation, matching the ID from AsyncStarted.