feat(camera): add enums for camera options

This commit is contained in:
Ibby Hadeed 2017-07-15 14:38:09 -04:00
parent 1decedd899
commit 6061af6238
No known key found for this signature in database
GPG Key ID: 22EFE47A3DDBDB5C

View File

@ -85,6 +85,42 @@ export interface CameraPopoverOptions {
arrowDir: number; arrowDir: number;
} }
export enum DestinationType {
DATA_URL = 0,
FILE_URL,
NATIVE_URI
}
export enum EncodingType {
JPEG = 0,
PNG
}
export enum MediaType {
PICTURE = 0,
VIDEO,
ALLMEDIA
}
export enum PictureSourceType {
PHOTOLIBRARY = 0,
CAMERA,
SAVEDPHOTOALBUM
}
export enum PopoverArrowDirection {
ARROW_UP = 1,
ARROW_DOWN,
ARROW_LEFT,
ARROW_RIGHT,
ARROW_ANY
}
export enum Direction {
BACK = 0,
FRONT
}
/** /**
* @name Camera * @name Camera
* @description * @description