Skip to content

Commit

Permalink
feat(camera): add enums for camera options
Browse files Browse the repository at this point in the history
  • Loading branch information
ihadeed committed Jul 15, 2017
1 parent 1decedd commit 6061af6
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions src/@ionic-native/plugins/camera/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,42 @@ export interface CameraPopoverOptions {
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
* @description
Expand Down

0 comments on commit 6061af6

Please sign in to comment.