Skip to content

React SDK Reference / VitalSignCameraInstance

Type Alias: VitalSignCameraInstance

VitalSignCameraInstance = object

Instance of a VitalSignCamera that provides methods to control the camera and scanning process. This is returned when the VitalSignCamera component is created and allows programmatic control of the vital sign scanning functionality.

Properties

_implementation

readonly _implementation: VitalSignCameraInterface

The underlying VitalSignCameraInterface implementation.


startScanning()

startScanning: () => void

Starts the vital sign scanning process.

Returns

void


stopScanning()

stopScanning: () => void

Stops the currently running scanning process.

Returns

void


waitCameraToStop()

waitCameraToStop: () => Promise<void>

Waits for the camera to completely stop all operations.

Returns

Promise<void>

Methods

getVideo()

getVideo(): HTMLVideoElement | null

Gets the HTML video element used by the camera.

Returns

HTMLVideoElement | null