From 234ed6e9e7f35289949a3b1f4d5e6a0c62d454cd Mon Sep 17 00:00:00 2001 From: Shane Smith Date: Tue, 28 Feb 2017 17:31:35 -0500 Subject: [PATCH] fix(media): add missing pauseRecord and resumeRecord methods (#1122) --- src/plugins/media.ts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/plugins/media.ts b/src/plugins/media.ts index 39eeda511..d76a3f87d 100644 --- a/src/plugins/media.ts +++ b/src/plugins/media.ts @@ -225,6 +225,21 @@ export class MediaPlugin { }) stopRecord(): void { } + /** + * Pauses recording + */ + @CordovaInstance({ + sync: true + }) + pauseRecord(): void { } + + /** + * Resumes recording + */ + @CordovaInstance({ + sync: true + }) + resumeRecord(): void { } /** * Stops playing an audio file.