docs(all): standardizes and adds return types, also some param fixes

This commit is contained in:
Alex Muramoto
2016-11-29 16:40:50 -06:00
parent b7a562053a
commit 3da2831779
88 changed files with 635 additions and 347 deletions
+5
View File
@@ -58,6 +58,7 @@ export class MediaCapture {
/**
* Start the audio recorder application and return information about captured audio clip files.
* @param options
* @returns {Promise<MediaFile[]>}
*/
@Cordova({
callbackOrder: 'reverse'
@@ -67,6 +68,7 @@ export class MediaCapture {
/**
* Start the camera application and return information about captured image files.
* @param options
* @returns {Promise<MediaFile[]>}
*/
@Cordova({
callbackOrder: 'reverse'
@@ -76,6 +78,7 @@ export class MediaCapture {
/**
* Start the video recorder application and return information about captured video clip files.
* @param options
* @returns {Promise<MediaFile[]>}
*/
@Cordova({
callbackOrder: 'reverse'
@@ -84,6 +87,7 @@ export class MediaCapture {
/**
* is fired if the capture call is successful
* @returns {Observable<MediaFile[]>}
*/
@Cordova({
eventObservable: true,
@@ -93,6 +97,7 @@ export class MediaCapture {
/**
* is fired if the capture call is unsuccessful
* @returns {Observable<CaptureError>}
*/
@Cordova({
eventObservable: true,