refactor(camera):

This commit is contained in:
Guille 2016-07-08 00:42:47 +02:00
parent c122171dd5
commit 8e91f2128f

View File

@ -1,4 +1,4 @@
import {Plugin, Cordova} from './plugin'; import { Cordova, Plugin } from './plugin';
export interface CameraOptions { export interface CameraOptions {
@ -161,7 +161,7 @@ export class Camera {
/** Allow selection of video only, ONLY RETURNS URL */ /** Allow selection of video only, ONLY RETURNS URL */
VIDEO: 1, VIDEO: 1,
/** Allow selection from all media types */ /** Allow selection from all media types */
ALLMEDIA : 2 ALLMEDIA: 2
}; };
/** /**
@ -169,11 +169,11 @@ export class Camera {
*/ */
static PictureSourceType = { static PictureSourceType = {
/** Choose image from picture library (same as SAVEDPHOTOALBUM for Android) */ /** Choose image from picture library (same as SAVEDPHOTOALBUM for Android) */
PHOTOLIBRARY : 0, PHOTOLIBRARY: 0,
/** Take picture from camera */ /** Take picture from camera */
CAMERA : 1, CAMERA: 1,
/** Choose image from picture library (same as PHOTOLIBRARY for Android) */ /** Choose image from picture library (same as PHOTOLIBRARY for Android) */
SAVEDPHOTOALBUM : 2 SAVEDPHOTOALBUM: 2
}; };
/** /**
@ -181,11 +181,11 @@ export class Camera {
* @enum {number} * @enum {number}
*/ */
static PopoverArrowDirection = { static PopoverArrowDirection = {
ARROW_UP : 1, ARROW_UP: 1,
ARROW_DOWN : 2, ARROW_DOWN: 2,
ARROW_LEFT : 4, ARROW_LEFT: 4,
ARROW_RIGHT : 8, ARROW_RIGHT: 8,
ARROW_ANY : 15 ARROW_ANY: 15
}; };
/** /**