1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-15 09:04:04 +02:00
joplin/packages/app-mobile/services/voiceTyping/vosk.ios.ts
2023-05-27 16:30:25 +01:00

24 lines
375 B
TypeScript

// Currently disabled on iOS
type Vosk = any;
export { Vosk };
export interface Recorder {
stop: ()=> Promise<string>;
cleanup: ()=> void;
}
export const getVosk = async () => {
return {} as any;
};
export const startRecording = (_vosk: Vosk): Recorder => {
return {
stop: async () => { return ''; },
cleanup: () => {},
};
};
export const voskEnabled = false;