diff --git a/index.d.ts b/index.d.ts index 81b77197..58a3b2af 100644 --- a/index.d.ts +++ b/index.d.ts @@ -50,6 +50,13 @@ declare class Sound { */ static setMode(mode: AVAudioSessionMode): void + /** + * Turn speaker phone on (iOS only) + * + * @param value + */ + static setSpeakerPhone(value: boolean): void; + /** * @param filenameOrFile Either absolute or relative path to the sound file or the `require` call. * @param basePathOrCallback Optional base path of the file. Omit this or pass '' if filename is an absolute path; you may use one of the predefined directories: Sound.MAIN_BUNDLE, Sound.DOCUMENT, Sound.LIBRARY, Sound.CACHES. If you are using `require` to define filepath, then set the callback function as the second argument.