Ejemplo n.º 1
0
 /// <summary>
 /// Start the video recorder application and return information about captured video clip file(s).
 /// </summary>
 /// <param name="captureSuccess"></param>
 /// <param name="captureError"></param>
 /// <returns></returns>
 /// <example>
 /// usage
 /// <code>
 /// // capture callback
 /// var captureSuccess = function(mediaFiles) {
 /// var i, path, len;
 /// for (i = 0, len = mediaFiles.length; i &lt; len; i += 1) {
 /// path = mediaFiles[i].fullPath;
 /// // do something interesting with the file
 /// }
 /// };
 /// // capture error callback
 /// var captureError = function(error) {
 /// navigator.notification.alert('Error code: ' + error.code, null, 'Capture Error');
 /// };
 /// // start video capture
 /// navigator.device.capture.captureVideo(captureSuccess, captureError, {limit:2});
 /// </code>
 /// </example>
 public void captureVideo(CaptureCB captureSuccess, CaptureErrorCB captureError) { }
Ejemplo n.º 2
0
 /// <summary>
 /// Start the video recorder application and return information about captured video clip file(s).
 /// </summary>
 /// <param name="captureSuccess"></param>
 /// <param name="captureError"></param>
 /// <param name="options"></param>
 /// <returns></returns>
 /// <example>
 /// usage
 /// <code>
 /// // capture callback
 /// var captureSuccess = function(mediaFiles) {
 /// var i, path, len;
 /// for (i = 0, len = mediaFiles.length; i &lt; len; i += 1) {
 /// path = mediaFiles[i].fullPath;
 /// // do something interesting with the file
 /// }
 /// };
 /// // capture error callback
 /// var captureError = function(error) {
 /// navigator.notification.alert('Error code: ' + error.code, null, 'Capture Error');
 /// };
 /// // start video capture
 /// navigator.device.capture.captureVideo(captureSuccess, captureError, {limit:2});
 /// </code>
 /// </example>
 public void captureVideo(CaptureCB captureSuccess, CaptureErrorCB captureError, CaptureVideoOptions options) { }
Ejemplo n.º 3
0
 /// <summary>
 /// Start the camera application and return information about captured image file(s).
 /// </summary>
 /// <param name="captureSuccess"></param>
 /// <param name="captureError"></param>
 /// <returns></returns>
 /// <example>
 /// usage
 /// <code>
 /// // capture callback
 /// var captureSuccess = function(mediaFiles) {
 /// var i, path, len;
 /// for (i = 0, len = mediaFiles.length; i &lt; len; i += 1) {
 /// path = mediaFiles[i].fullPath;
 /// // do something interesting with the file
 /// }
 /// };
 /// // capture error callback
 /// var captureError = function(error) {
 /// navigator.notification.alert('Error code: ' + error.code, null, 'Capture Error');
 /// };
 /// // start image capture
 /// navigator.device.capture.captureImage(captureSuccess, captureError, {limit:2});
 /// </code>
 /// </example>
 public void captureImage(CaptureCB captureSuccess, CaptureErrorCB captureError) { }
Ejemplo n.º 4
0
 /// <summary>
 /// Start the camera application and return information about captured image file(s).
 /// </summary>
 /// <param name="captureSuccess"></param>
 /// <param name="captureError"></param>
 /// <param name="options"></param>
 /// <returns></returns>
 /// <example>
 /// usage
 /// <code>
 /// // capture callback
 /// var captureSuccess = function(mediaFiles) {
 /// var i, path, len;
 /// for (i = 0, len = mediaFiles.length; i &lt; len; i += 1) {
 /// path = mediaFiles[i].fullPath;
 /// // do something interesting with the file
 /// }
 /// };
 /// // capture error callback
 /// var captureError = function(error) {
 /// navigator.notification.alert('Error code: ' + error.code, null, 'Capture Error');
 /// };
 /// // start image capture
 /// navigator.device.capture.captureImage(captureSuccess, captureError, {limit:2});
 /// </code>
 /// </example>
 public void captureImage(CaptureCB captureSuccess, CaptureErrorCB captureError, CaptureImageOptions options) { }
Ejemplo n.º 5
0
 /// <summary>
 /// Start the audio recorder application and return information about captured audio clip file(s).
 /// </summary>
 /// <param name="captureSuccess">This method starts an asynchronous operation to capture audio recordings using the device's default audio recording application.
 /// The operation allows the device user to capture multiple recordings in a single session.</param>
 /// <param name="captureError">The capture operation ends when either the user exits the audio recording application,
 /// or the maximum number of recordings, specified by the limit parameter in CaptureAudioOptions, has been reached.
 /// If no value is provided for the limit parameter, a default value of one (1) is used, and the capture operation will terminate after the user records a single audio clip.</param>
 /// <returns></returns>
 public void captureAudio(CaptureCB captureSuccess, CaptureErrorCB captureError) { }
Ejemplo n.º 6
0
 /// <summary>
 /// Start the audio recorder application and return information about captured audio clip file(s).
 /// </summary>
 /// <param name="captureSuccess">This method starts an asynchronous operation to capture audio recordings using the device's default audio recording application.
 /// The operation allows the device user to capture multiple recordings in a single session.</param>
 /// <param name="captureError">The capture operation ends when either the user exits the audio recording application,
 /// or the maximum number of recordings, specified by the limit parameter in CaptureAudioOptions, has been reached.
 /// If no value is provided for the limit parameter, a default value of one (1) is used, and the capture operation will terminate after the user records a single audio clip.</param>
 /// <param name="options">When the capture operation is finished, it will invoke the CaptureCB callback with an array of MediaFile objects describing each captured audio clip file.
 /// If the operation is terminated by the user before an audio clip is captured,
 /// the CaptureErrorCB callback will be invoked with a CaptureError object with the CaptureError.CAPTURE_NO_MEDIA_FILES error code.</param>
 /// <returns></returns>
 public void captureAudio(CaptureCB captureSuccess, CaptureErrorCB captureError, CaptureAudioOptions options) { }