Index
Events Methods
Other Methods
Constructors
constructor
-
Parameters
-
identifier: string
-
token: string
-
Events Methods
onClose
- onClose(callback: (payload: any) => void): void
-
Parameters
-
callback: (payload: any) => void
Returns void
onError
- onError(callback: (payload: any) => void): void
-
Parameters
-
callback: (payload: any) => void
Returns void
Other Methods
join
-
Parameters
-
-
Default value options: ConversationOptions = {interim_results: true,model: "default",readonly: false,rescoring: true,speaker: Uhlive.generateSpeakerId(),}
leave
-
Parameters
Returns boolean
leaveAllConversations
- leaveAllConversations(): void
Create an Uhlive instance by passing your private token and identifier.
const uhlive = new Uhlive("my-identifier", "my-token");