UNPKG

@ascendtis/react-native-voice-to-text

Version:

This can use to convert voice to text real time in device

15 lines 600 B
import type { TurboModule } from 'react-native'; export interface Spec extends TurboModule { startListening(): Promise<string>; stopListening(): Promise<string>; destroy(): Promise<string>; addListener(eventName: string): void; removeListeners(count: number): void; getRecognitionLanguage(): Promise<string>; setRecognitionLanguage(languageTag: string): Promise<boolean>; isRecognitionAvailable(): Promise<boolean>; getSupportedLanguages(): Promise<string[]>; } declare const _default: Spec; export default _default; //# sourceMappingURL=NativeVoiceToText.d.ts.map