public class ResultWrapper<T>
Result wrapper which points to the specific result in one of interface ResultRepository based on clazz
To get access to the full result object it is needed to do the following:
val resultWrapper: ResultWrapper val result = ScanbotSDK(context).resultRepositoryForClass(resultWrapper.clazz).getResultAndErase(resultWrapper.resultId) The result object will contain the full GenericDocument object
interface ResultRepositorypublic ResultWrapper(@NotNull
java.lang.String resultId,
@NotNull
java.lang.Class<T> clazz)
Result wrapper which points to the specific result in one of interface ResultRepository based on clazz
To get access to the full result object it is needed to do the following:
val resultWrapper: ResultWrapper val result = ScanbotSDK(context).resultRepositoryForClass(resultWrapper.clazz).getResultAndErase(resultWrapper.resultId) The result object will contain the full GenericDocument object
resultId - raw id implementation (String)clazz - class to help to get the correct repository from ScanbotSDKinterface ResultRepository@NotNull public java.lang.String getResultId()
raw id implementation
(String)
@NotNull public java.lang.Class<T> getClazz()
class to help to get the correct repository from ScanbotSDK
@NotNull public java.lang.String component1()
raw id implementation
(String)
@NotNull public java.lang.Class<T> component2()
class to help to get the correct repository from ScanbotSDK
@NotNull public ResultWrapper<T> copy(@NotNull java.lang.String resultId, @NotNull java.lang.Class<T> clazz)
Result wrapper which points to the specific result in one of interface ResultRepository based on clazz
To get access to the full result object it is needed to do the following:
val resultWrapper: ResultWrapper val result = ScanbotSDK(context).resultRepositoryForClass(resultWrapper.clazz).getResultAndErase(resultWrapper.resultId) The result object will contain the full GenericDocument object
resultId - raw id implementation (String)clazz - class to help to get the correct repository from ScanbotSDKinterface ResultRepository@NotNull public java.lang.String toString()
public int hashCode()
public boolean equals(@Nullable
java.lang.Object p)