TypeScript SDK Reference / RemoteHealthAnalyzerConfig
Interface: RemoteHealthAnalyzerConfig
Extended by
Properties
apiKey?
optionalapiKey:string
API key for authenticating requests to the backend.
dataWindowDuration?
optionaldataWindowDuration:number
Duration in seconds of face data to collect in a sliding window. Default is 15.
enableSavingRequest?
optionalenableSavingRequest:boolean
Whether to enable saving of requests for debugging purposes.
httpCall()?
optionalhttpCall: {(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>
Parameters
input
URL | RequestInfo
init?
RequestInit
Returns
Promise<Response>
Call Signature
(
input,init?):Promise<Response>
Parameters
input
URL | RequestInfo
init?
RequestInit
Returns
Promise<Response>
landmarksSampleRate?
optionallandmarksSampleRate:number
Sample rate in FPS for facial landmarks sent to backend. Default is 10.
serverId?
optionalserverId:ServerId
The ID of the backend server to use for analysis.
serverUrl?
optionalserverUrl:string
Custom URL of the backend server. If not provided, uses default URL for serverId.