Class DigifiedResult
java.lang.Object
io.digified.digified_library.api.result.BaseDigifiedResult
io.digified.digified_library.api.result.DigifiedResult
- Direct Known Subclasses:
FaceMatchResult
,GenericIdExtractionResult
,IdExtractionResult
,InitializationResult
,PassportExtractionResult
,TransliterationResult
,VehicleLicenseExtractionResult
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetError()
Getter method forerror
: the error messageGetter method forerrorCode
: the error codeGetter method formessage
: represents the recommended action for userGetter method fornextProcess
: represents the next operationGetter method foroverallStatus
: Enumeration representing overall status of the session: (FAILED: 0, VERIFIED: 1, IN_PROGRESS: 2, PENDING: 3)Getter method forresult
: indicating the session status: (SUCCESS: 0, HAS_ERRORS: -1, HAS_WARNINGS: 1)Getter method forshouldTerminate
: False if there will be a next op-state / try, True otherwise.
-
Constructor Details
-
DigifiedResult
public DigifiedResult()
-
-
Method Details
-
getMessage
Getter method formessage
: represents the recommended action for user- Returns:
- "msg" in the API response
-
getNextProcess
Getter method fornextProcess
: represents the next operation- Returns:
- "next" in the API response
-
getOverallStatus
Getter method foroverallStatus
: Enumeration representing overall status of the session: (FAILED: 0, VERIFIED: 1, IN_PROGRESS: 2, PENDING: 3)- Returns:
- "overall_status" in the API response
-
getResult
Getter method forresult
: indicating the session status: (SUCCESS: 0, HAS_ERRORS: -1, HAS_WARNINGS: 1)- Returns:
- "result" in the API response
-
getShouldTerminate
Getter method forshouldTerminate
: False if there will be a next op-state / try, True otherwise.- Returns:
- "should_terminate" in the API response
-
getError
Getter method forerror
: the error message- Returns:
- "Error" in the API response
-
getErrorCode
Getter method forerrorCode
: the error code- Returns:
- "code" in the API response
-