Skip to content

TypeScript SDK Reference / RemoteHealthAnalyzerConfig

Interface: RemoteHealthAnalyzerConfig

Extended by

Properties

apiKey?

optional apiKey: string

API key for authenticating requests to the backend.


dataWindowDuration?

optional dataWindowDuration: number

Duration in seconds of face data to collect in a sliding window. Default is 15.


enableSavingRequest?

optional enableSavingRequest: boolean

Whether to enable saving of requests for debugging purposes.


httpCall()?

optional httpCall: {(input, init?): Promise<Response>; (input, init?): Promise<Response>; }

Custom HTTP function to use instead of the built-in fetch.

Call Signature

(input, init?): Promise<Response>

MDN Reference

Parameters
input

URL | RequestInfo

init?

RequestInit

Returns

Promise<Response>

Call Signature

(input, init?): Promise<Response>

MDN Reference

Parameters
input

URL | RequestInfo

init?

RequestInit

Returns

Promise<Response>


landmarksSampleRate?

optional landmarksSampleRate: number

Sample rate in FPS for facial landmarks sent to backend. Default is 10.


serverId?

optional serverId: ServerId

The ID of the backend server to use for analysis.


serverUrl?

optional serverUrl: string

Custom URL of the backend server. If not provided, uses default URL for serverId.