cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dblotsky <...@git.apache.org>
Subject [GitHub] cordova-plugin-media-capture pull request: Fixing README for displ...
Date Wed, 02 Mar 2016 01:59:20 GMT
Github user dblotsky commented on a diff in the pull request:

    https://github.com/apache/cordova-plugin-media-capture/pull/58#discussion_r54668778
  
    --- Diff: README.md ---
    @@ -340,6 +285,61 @@ capturing a video clip, the `CaptureErrorCB` callback executes with
a
     - Cordova for BlackBerry 10 attempts to launch the __Video Recorder__ application, provided
by RIM, to capture video recordings. The app receives a `CaptureError.CAPTURE_NOT_SUPPORTED`
error code if the application is not installed on the device.
     
     
    +## CaptureAudioOptions
    +
    +> Encapsulates audio capture configuration options.
    +
    +### Properties
    +
    +- __limit__: The maximum number of audio clips the device user can record in a single
capture operation.  The value must be greater than or equal to 1 (defaults to 1).
    +
    +- __duration__: The maximum duration of an audio sound clip, in seconds.
    +
    +### Example
    +
    +    // limit capture operation to 3 media files, no longer than 10 seconds each
    +    var options = { limit: 3, duration: 10 };
    +
    +    navigator.device.capture.captureAudio(captureSuccess, captureError, options);
    +
    +### Amazon Fire OS Quirks
    +
    +- The `duration` parameter is not supported.  Recording lengths cannot be limited programmatically.
    +
    +### Android Quirks
    +
    +- The `duration` parameter is not supported.  Recording lengths can't be limited programmatically.
    +
    +### BlackBerry 10 Quirks
    +
    +- The `duration` parameter is not supported.  Recording lengths can't be limited programmatically.
    +- The `limit` parameter is not supported, so only one recording can be created for each
invocation.
    +
    +### iOS Quirks
    +
    +- The `limit` parameter is not supported, so only one recording can be created for each
invocation.
    +
    +
    +## CaptureImageOptions
    +
    +> Encapsulates image capture configuration options.
    --- End diff --
    
    Nitpick: This doesn't need to be a quote.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
For additional commands, e-mail: dev-help@cordova.apache.org


Mime
View raw message