From 4af3d5bcc1689609ef607b6676c83d5d414eb1c3 Mon Sep 17 00:00:00 2001 From: Ibby Hadeed Date: Fri, 21 Jul 2017 01:07:38 -0400 Subject: [PATCH] fix(media): add setRate method closes #1825 --- src/@ionic-native/plugins/media/index.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/@ionic-native/plugins/media/index.ts b/src/@ionic-native/plugins/media/index.ts index 8fb38349f..4cfbfc3b6 100644 --- a/src/@ionic-native/plugins/media/index.ts +++ b/src/@ionic-native/plugins/media/index.ts @@ -114,6 +114,9 @@ export class MediaObject { @CordovaInstance({ sync: true }) setVolume(volume: number): void { } + @CordovaInstance({ sync: true }) + setRate(speedRate: number): void {} + /** * Starts recording an audio file. */