capacitor-voice-recorder
Advanced tools
Comparing version 1.2.0 to 2.0.0
{ | ||
"name": "capacitor-voice-recorder", | ||
"version": "1.2.0", | ||
"version": "2.0.0", | ||
"description": "Capacitor plugin for voice recording", | ||
@@ -5,0 +5,0 @@ "main": "dist/plugin.cjs.js", |
@@ -47,5 +47,5 @@ <p align="center"> | ||
| stopRecording | ✅ | ✅ | ✅ | | ||
| pauseRecording | ❌ | ❌ | ✅ | | ||
| resumeRecording | ❌ | ❌ | ✅ | | ||
| getCurrentStatus | ❌ | ❌ | ✅ | | ||
| pauseRecording | ✅ | ✅ | ✅ | | ||
| resumeRecording | ✅ | ✅ | ✅ | | ||
| getCurrentStatus | ✅ | ✅ | ✅ | | ||
@@ -90,4 +90,6 @@ ## Explanation | ||
* pauseRecording - will pause an ongoing recording. note that if the recording has not started yet the promise | ||
will reject with `RECORDING_HAS_NOT_STARTED`. in case of success the promise will resolve to `{ value: true }` if the pause | ||
was successful or `{ value: false }` if the recording is already paused. | ||
will reject with `RECORDING_HAS_NOT_STARTED`. in case of success the promise will resolve to `{ value: true }` if the pause | ||
was successful or `{ value: false }` if the recording is already paused. | ||
note that on certain mobile os versions this function is not supported. | ||
in these cases the function will reject with `NOT_SUPPORTED_OS_VERSION` and your only viable options is to stop the recording instead. | ||
@@ -99,2 +101,4 @@ --- | ||
was successful or `{ value: false }` if the recording is already running. | ||
note that on certain mobile os versions this function is not supported. | ||
in these cases the function will reject with `NOT_SUPPORTED_OS_VERSION` and your only viable options is to stop the recording instead | ||
@@ -104,4 +108,4 @@ --- | ||
* getCurrentStatus - will let you know the current status of the current recording (if there is any at all). | ||
will resolve with one of the following values: `{ status: "NONE" }` if the plugin is idle and waiting to start a new recording. | ||
`{ status: "RECORDING" }` if the plugin is in the middle of recording and `{ status: "PAUSED" }` if the recording is paused right now. | ||
will resolve with one of the following values: `{ status: "NONE" }` if the plugin is idle and waiting to start a new recording. | ||
`{ status: "RECORDING" }` if the plugin is in the middle of recording and `{ status: "PAUSED" }` if the recording is paused right now. | ||
@@ -155,2 +159,3 @@ ## Usage | ||
* was successful or `{ value: false }` if the recording is already paused. | ||
* if the current mobile os does not support this method the promise will reject with `NOT_SUPPORTED_OS_VERSION` | ||
*/ | ||
@@ -164,3 +169,4 @@ VoiceRecorder.pauseRecording() | ||
* will reject with `RECORDING_HAS_NOT_STARTED`. in case of success the promise will resolve to `{ value: true }` if the resume | ||
* was successful or `{ value: false }` if the recording is already running | ||
* was successful or `{ value: false }` if the recording is already running. | ||
* if the current mobile os does not support this method the promise will reject with `NOT_SUPPORTED_OS_VERSION` | ||
*/ | ||
@@ -167,0 +173,0 @@ VoiceRecorder.resumeRecording() |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
115023
42
207
0