| 3 | import { AudioModuleEvents, MicrophoneMode } from './AudioModule.types'; |
| 4 | |
| 5 | declare class AudioModule extends NativeModule<AudioModuleEvents> { |
| 6 | getPermissions(): Promise<boolean>; |
| 7 | startRecording(): Promise<void>; |
| 8 | enqueueAudio(base64EncodedAudio: string): Promise<void>; |
| 9 | stopPlayback(): Promise<void>; |
| 10 | mute(): Promise<void>; |
| 11 | unmute(): Promise<void>; |
| 12 | showMicrophoneModes(): Promise<void>; |
| 13 | getMicrophoneMode(): Promise<MicrophoneMode>; |
| 14 | } |
| 15 | |
| 16 | // This call loads the native module object from the JSI. |
| 17 | export default requireNativeModule<AudioModule>('Audio'); |
nothing calls this directly
no outgoing calls
no test coverage detected