mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-02-22 01:19:36 +08:00
refractor(camera): remove public statements
This commit is contained in:
parent
5b98a80828
commit
efb2ee7880
@ -121,7 +121,7 @@ export class Camera {
|
|||||||
* @private
|
* @private
|
||||||
* @enum {number}
|
* @enum {number}
|
||||||
*/
|
*/
|
||||||
public static DestinationType = {
|
static DestinationType = {
|
||||||
/** Return base64 encoded string. DATA_URL can be very memory intensive and cause app crashes or out of memory errors. Use FILE_URI or NATIVE_URI if possible */
|
/** Return base64 encoded string. DATA_URL can be very memory intensive and cause app crashes or out of memory errors. Use FILE_URI or NATIVE_URI if possible */
|
||||||
DATA_URL: 0,
|
DATA_URL: 0,
|
||||||
/** Return file uri (content://media/external/images/media/2 for Android) */
|
/** Return file uri (content://media/external/images/media/2 for Android) */
|
||||||
@ -134,7 +134,7 @@ export class Camera {
|
|||||||
* @private
|
* @private
|
||||||
* @enum {number}
|
* @enum {number}
|
||||||
*/
|
*/
|
||||||
public static EncodingType = {
|
static EncodingType = {
|
||||||
/** Return JPEG encoded image */
|
/** Return JPEG encoded image */
|
||||||
JPEG: 0,
|
JPEG: 0,
|
||||||
/** Return PNG encoded image */
|
/** Return PNG encoded image */
|
||||||
@ -144,7 +144,7 @@ export class Camera {
|
|||||||
* @private
|
* @private
|
||||||
* @enum {number}
|
* @enum {number}
|
||||||
*/
|
*/
|
||||||
public static MediaType = {
|
static MediaType = {
|
||||||
/** Allow selection of still pictures only. DEFAULT. Will return format specified via DestinationType */
|
/** Allow selection of still pictures only. DEFAULT. Will return format specified via DestinationType */
|
||||||
PICTURE: 0,
|
PICTURE: 0,
|
||||||
/** Allow selection of video only, ONLY RETURNS URL */
|
/** Allow selection of video only, ONLY RETURNS URL */
|
||||||
@ -157,7 +157,7 @@ export class Camera {
|
|||||||
* @private
|
* @private
|
||||||
* @enum {number}
|
* @enum {number}
|
||||||
*/
|
*/
|
||||||
public 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 */
|
||||||
@ -171,7 +171,7 @@ export class Camera {
|
|||||||
* Matches iOS UIPopoverArrowDirection constants to specify arrow location on popover.
|
* Matches iOS UIPopoverArrowDirection constants to specify arrow location on popover.
|
||||||
* @enum {number}
|
* @enum {number}
|
||||||
*/
|
*/
|
||||||
public static PopoverArrowDirection = {
|
static PopoverArrowDirection = {
|
||||||
ARROW_UP: 1,
|
ARROW_UP: 1,
|
||||||
ARROW_DOWN: 2,
|
ARROW_DOWN: 2,
|
||||||
ARROW_LEFT: 4,
|
ARROW_LEFT: 4,
|
||||||
@ -183,7 +183,7 @@ export class Camera {
|
|||||||
* @private
|
* @private
|
||||||
* @enum {number}
|
* @enum {number}
|
||||||
*/
|
*/
|
||||||
public static Direction = {
|
static Direction = {
|
||||||
/** Use the back-facing camera */
|
/** Use the back-facing camera */
|
||||||
BACK: 0,
|
BACK: 0,
|
||||||
/** Use the front-facing camera */
|
/** Use the front-facing camera */
|
||||||
|
Loading…
Reference in New Issue
Block a user