Skip to content

@vowel.to/client v0.1.2-393


@vowel.to/client / index / VowelContextType

Interface: VowelContextType

Defined in: lib/vowel/components/VowelProviderSimple.tsx:35

Vowel Context type

Properties

PropertyTypeDescriptionDefined in
clientVowel | nullVowel client instance (null if not initialized)lib/vowel/components/VowelProviderSimple.tsx:37
stateVoiceSessionStateCurrent session statelib/vowel/components/VowelProviderSimple.tsx:40
startSession() => Promise<void>Start a voice sessionlib/vowel/components/VowelProviderSimple.tsx:43
stopSession() => voidStop the current sessionlib/vowel/components/VowelProviderSimple.tsx:46
toggleSession() => Promise<void>Toggle session on/offlib/vowel/components/VowelProviderSimple.tsx:49
clearTranscripts() => voidClear transcript historylib/vowel/components/VowelProviderSimple.tsx:52
notifyEvent(eventDetails, context?) => Promise<void>Notify the AI about an app event Triggers an AI voice response without requiring user speech inputlib/vowel/components/VowelProviderSimple.tsx:61
sendText(text) => Promise<void>Send text to the AI for processing Lower-level method for custom text interactionslib/vowel/components/VowelProviderSimple.tsx:69