Type definition
Below is the type definition for theUseAmbientSessionParams type. This is the type definition for the parameters you pass to the useAmbientSession hook.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Web SDK now support Medication Orders -> Learn more
Parameters type for useAmbientSession hook
UseAmbientSessionParams type. This is the type definition for the parameters you pass to the useAmbientSession hook.
type UseAmbientSessionParams = {
ambientSessionId: string;
config?: {
audioBatchSize?: number;
};
onAudioChunkAvailable?: (audioChunk: Array<Int16Array>) => void;
};
Was this page helpful?