Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

capacitor-voice-recorder

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

capacitor-voice-recorder - npm Package Compare versions

Comparing version 1.2.0 to 2.0.0

android/src/main/java/com/tchvu3/capacitorvoicerecorder/CurrentRecordingStatus.java

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc