Package io.anyline2.util
Class JSUtil
- java.lang.Object
-
- io.anyline2.util.JSUtil
-
public class JSUtil extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description JSUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.StringBuilder
setupConfig(android.content.Context context, java.lang.String id, CutoutConfig cutoutConfig, ScanFeedbackConfig visualFeedbackConfig, android.graphics.Rect rect)
static java.lang.StringBuilder
setupDelayTime(double delayTime, java.lang.String id)
static java.lang.StringBuilder
setupMask(CutoutConfig cutoutConfig)
static java.lang.StringBuilder
setupParallelConfig(android.content.Context context, java.util.ArrayList<java.lang.String> ids, java.util.ArrayList<CutoutConfig> cutoutConfigs, java.util.ArrayList<ScanFeedbackConfig> visualFeedbackConfigs, java.util.ArrayList<android.graphics.Rect> rects)
static java.lang.StringBuilder
setupSerialConfig(android.content.Context context, java.util.ArrayList<java.lang.String> ids, java.util.ArrayList<CutoutConfig> cutoutConfigs, java.util.ArrayList<ScanFeedbackConfig> visualFeedbackConfigs, java.util.ArrayList<android.graphics.Rect> rects)
static java.lang.StringBuilder
updateCutout(java.lang.String id, boolean visible)
static java.lang.StringBuilder
updateDocumentColorsFeedback(ScanFeedbackConfig visualFeedbackConfig, java.lang.String id)
static java.lang.StringBuilder
updateFeedback(java.util.ArrayList<android.graphics.RectF> rectFs, android.content.Context context, java.lang.String id)
static java.lang.StringBuilder
updateFeedbackShape(java.util.List<android.graphics.PointF> points, android.content.Context context, java.lang.String id)
-
-
-
Method Detail
-
setupMask
public static java.lang.StringBuilder setupMask(CutoutConfig cutoutConfig)
-
updateCutout
public static java.lang.StringBuilder updateCutout(java.lang.String id, boolean visible)
-
setupDelayTime
public static java.lang.StringBuilder setupDelayTime(double delayTime, java.lang.String id)
-
setupConfig
public static java.lang.StringBuilder setupConfig(android.content.Context context, java.lang.String id, CutoutConfig cutoutConfig, ScanFeedbackConfig visualFeedbackConfig, android.graphics.Rect rect)
-
setupParallelConfig
public static java.lang.StringBuilder setupParallelConfig(android.content.Context context, java.util.ArrayList<java.lang.String> ids, java.util.ArrayList<CutoutConfig> cutoutConfigs, java.util.ArrayList<ScanFeedbackConfig> visualFeedbackConfigs, java.util.ArrayList<android.graphics.Rect> rects)
-
setupSerialConfig
public static java.lang.StringBuilder setupSerialConfig(android.content.Context context, java.util.ArrayList<java.lang.String> ids, java.util.ArrayList<CutoutConfig> cutoutConfigs, java.util.ArrayList<ScanFeedbackConfig> visualFeedbackConfigs, java.util.ArrayList<android.graphics.Rect> rects)
-
updateFeedback
public static java.lang.StringBuilder updateFeedback(java.util.ArrayList<android.graphics.RectF> rectFs, android.content.Context context, java.lang.String id)
-
updateFeedbackShape
public static java.lang.StringBuilder updateFeedbackShape(java.util.List<android.graphics.PointF> points, android.content.Context context, java.lang.String id)
-
updateDocumentColorsFeedback
public static java.lang.StringBuilder updateDocumentColorsFeedback(ScanFeedbackConfig visualFeedbackConfig, java.lang.String id)
-
-