Package io.scanbot.sdk.ui.result
Class ResultWrapper
-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class ResultWrapper<T extends Object> implements Parcelable
Result wrapper which points to the specific result in one of ResultRepository based on clazz
To get access to the full result object it is needed to do the following:
val resultWrapper: ResultWrapper<GenericDocument> val result = ScanbotSDK(context).resultRepositoryForClass(resultWrapper.clazz).getResultAndErase(resultWrapper.resultId) The result object will contain the full GenericDocument object
-
-
Constructor Summary
Constructors Constructor Description ResultWrapper(String resultId, Class<T> clazz)
-
Method Summary
Modifier and Type Method Description final String
getResultId()
final Class<T>
getClazz()
-