react-native-voice2text
Version:
React Native module for Android that converts speech to text using native speech recognition
12 lines • 462 B
TypeScript
import type { TurboModule } from 'react-native';
export interface Spec extends TurboModule {
checkPermissions(): Promise<boolean>;
requestPermissions(): Promise<boolean>;
startListening(languageCode: string | null): Promise<boolean>;
stopListening(): Promise<boolean>;
cancelListening(): Promise<boolean>;
destroy(): Promise<boolean>;
}
declare const _default: Spec;
export default _default;
//# sourceMappingURL=NativeVoice2text.d.ts.map