public static interface HiChecker.OnCautionListener
HiChecker#setCautionListener(Executor executor, OnCautionListener listener).| 限定符和类型 | 方法 | 说明 |
|---|---|---|
void |
onCautionFound(Caution caution) |
Called when a caution is generated.
|
void onCautionFound(Caution caution)
This caution callback is invoked to notify your application that a caution was generated.
caution - Indicates the Caution object, which contains the caution detection rule obtained via
Caution#getTriggerRule(), the custom caution message obtained via
Caution#getCustomMessage(), and the stack information obtained via Throwable#getStackTrace().Caution