Label Result Update Type

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

LabelResultUpdateType
interface LabelResultUpdateType

Added in version 8.6.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.6.0

Indicates a synchronous update from immediate processing.

AsyncStarted
class AsyncStarted : LabelResultUpdateType

Added in version 8.6.0

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

AsyncStarted()
AsyncStarted(id: Long)

Added in version 8.6.0

Creates a new instance carrying the identifier that links this start event to its corresponding finish event.

id
val id: Long

Added in version 8.6.0

The unique identifier for this asynchronous operation.

AsyncFinished
class AsyncFinished : LabelResultUpdateType

Added in version 8.6.0

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

AsyncFinished()
AsyncFinished(id: Long)

Added in version 8.6.0

Creates a new instance carrying the identifier that links this finish event to its corresponding start event.

id
val id: Long

Added in version 8.6.0

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