Package com.geniusscansdk.scanflow
Class PromiseResult
- java.lang.Object
-
- com.geniusscansdk.scanflow.PromiseResult
-
public class PromiseResult extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
errorCode
java.lang.String
errorMessage
boolean
isError
java.util.HashMap<java.lang.String,java.lang.Object>
result
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PromiseResult
reject(java.lang.String errorCode, java.lang.String errorMessage)
static PromiseResult
resolve()
static PromiseResult
resolve(java.util.HashMap<java.lang.String,java.lang.Object> result)
-
-
-
Method Detail
-
resolve
public static PromiseResult resolve()
-
resolve
public static PromiseResult resolve(java.util.HashMap<java.lang.String,java.lang.Object> result)
-
reject
public static PromiseResult reject(java.lang.String errorCode, java.lang.String errorMessage)
-
-