Valora
API Reference@valora-ai/reactindexInterfaces

VoiceCallProps

Defined in: packages/react/src/voiceCall.tsx:19

Properties

state?

optional state?: VoiceAgentState;

Defined in: packages/react/src/voiceCall.tsx:21

The assistant's state — drives the orb, status chip, and thinking indicator.


level?

optional level?: number;

Defined in: packages/react/src/voiceCall.tsx:23

Mic amplitude 0–1 (orb reactivity).


messages?

optional messages?: VoiceMessage[];

Defined in: packages/react/src/voiceCall.tsx:25

Transcript messages.


interim?

optional interim?: string;

Defined in: packages/react/src/voiceCall.tsx:27

Live interim user transcription.


timer?

optional timer?: string;

Defined in: packages/react/src/voiceCall.tsx:29

Session timer MM:SS.


theme?

optional theme?: VoiceTheme;

Defined in: packages/react/src/voiceCall.tsx:31

Theme (affects the title-bar glyph; tokens come from the host's :root).


muted?

optional muted?: boolean;

Defined in: packages/react/src/voiceCall.tsx:33

Mic muted.


cameraOn?

optional cameraOn?: boolean;

Defined in: packages/react/src/voiceCall.tsx:35

Camera on.


chatOpen?

optional chatOpen?: boolean;

Defined in: packages/react/src/voiceCall.tsx:37

Chat rail open. Default true.


onSend?

optional onSend?: (text) => void;

Defined in: packages/react/src/voiceCall.tsx:38

Parameters

ParameterType
textstring

Returns

void


onMic?

optional onMic?: () => void;

Defined in: packages/react/src/voiceCall.tsx:39

Returns

void


onCamera?

optional onCamera?: () => void;

Defined in: packages/react/src/voiceCall.tsx:40

Returns

void


onToggleChat?

optional onToggleChat?: () => void;

Defined in: packages/react/src/voiceCall.tsx:41

Returns

void


onLeave?

optional onLeave?: () => void;

Defined in: packages/react/src/voiceCall.tsx:42

Returns

void


onInvite?

optional onInvite?: () => void;

Defined in: packages/react/src/voiceCall.tsx:43

Returns

void


onToggleTheme?

optional onToggleTheme?: () => void;

Defined in: packages/react/src/voiceCall.tsx:44

Returns

void

On this page

Valora is local-first

No API key, no server — everything in this doc runs on-device.

Star on GitHub