package com.example.cmake_project_test

import type.SensorData

/**
 * 原生方法回调接口
 * 用于DataManager调用MainActivity中的原生方法
 */
interface NativeMethodCallback {
    fun createStreamParser(): Long
    fun destroyStreamParser(handle: Long)
    fun streamParserAppend(handle: Long, chunk: ByteArray)
    fun streamParserDrainPackets(handle: Long): List<SensorData>?
}
