Skip to content

Commit

Permalink
fix(media): add missing pauseRecord and resumeRecord methods (#1122)
Browse files Browse the repository at this point in the history
  • Loading branch information
shanesmith authored and ihadeed committed Feb 28, 2017
1 parent 4426e59 commit 234ed6e
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/plugins/media.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 234ed6e

Please sign in to comment.