getResultAndErase

abstract fun getResultAndErase(resultId: ResultId): T?

Returns the result for a given ResultId and delete it from the repository Use this method if you just need to process the result after the successful recognition to keep the usage of memory low