react-native-deepgram
Version:
React Native SDK for Deepgram's AI-powered speech-to-text, real-time transcription, and text intelligence APIs. Supports live audio streaming, file transcription, sentiment analysis, and topic detection for iOS and Android.
14 lines • 516 B
TypeScript
interface DeepgramNative {
startRecording(): Promise<void>;
stopRecording(): Promise<void>;
startAudio(): Promise<void>;
stopAudio(): Promise<void>;
playAudioChunk(chunk: string): Promise<void>;
setAudioConfig?(sampleRate: number, channels?: number): void;
feedAudio?(base64Chunk: string): void;
stopPlayer?(): void;
startPlayer?(sampleRate: number, channels?: number): void;
}
export declare const Deepgram: DeepgramNative;
export {};
//# sourceMappingURL=NativeDeepgram.d.ts.map