Skip to content

React SDK Reference / ScanResult

Interface: ScanResult

Defines the scan result

Extends

Properties

error?

optional error: any

The error of the scan. When an error occur, this variable is set and the stage is changed to Idle. (This version doesn't return any error, it's for future compatibility.)

Inherited from

GetHealthResult.error


health?

optional health: Health

The health result of the scan.

Inherited from

GetHealthResult.health


message?

optional message: string

The information of warning message of the scan. (This version doesn't return any message, it's for future compatibility.)

Inherited from

GetHealthResult.message


remainingTime

remainingTime: number

The remaining time of the current scanning stage.

Inherited from

GetHealthResult.remainingTime


stage

stage: GetHealthStage

The stage of the scanning.

Inherited from

GetHealthResult.stage


totalTime

totalTime: number | undefined

The total time of the current scanning stage.

Inherited from

GetHealthResult.totalTime