fix(media): add missing pauseRecord and resumeRecord methods (#1122)

This commit is contained in:
Shane Smith 2017-02-28 17:31:35 -05:00 committed by Ibby Hadeed
parent 4426e59176
commit 234ed6e9e7

View File

@ -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.