DataCallback

interface DataCallback(source)

Callback receiving decoded EUCData frames.

Threading contract:

  • Invoked from the manager's background coroutine scope.

  • Not guaranteed to run on the Android main thread.

Recommended usage:

  • Perform parsing, aggregation, logging, persistence, or domain processing directly.

  • For UI updates, switch explicitly to the main thread or publish the value through a UI-observed state container.

Functions

Link copied to clipboard
abstract fun onDataReceived(data: EUCData)