onGetPictureError( err ) method
Camera
Syntax
<static>
onGetPictureError
(
err
)
Parameters
Name
Type
Description
err
number
the error code returned.Possible values are
PictureError.NO_ERROR = 0;
PictureError.NOT_SUPPORTED = -1; getPicture() not implemented, camera not present,
PictureError.IN_PROGRESS = -2; getPicture() has already been requested but has not yet completed.
PictureError.USER_REJECT = -3; the user has canceled the request.
PictureError.BAD_OPTIONS = -4; supplied options were not recognized.
PictureError.TOO_LARGE = -5; the returned image size was too large to be handled by JavaScript
PictureError.UNKNOWN = -6; an unknown error occurred.
Source
Camera.js, line 268
.
Parent topic:
anonymous namespace
Created March 27, 2014.
To comment on this topic, go to:
DocCommentXchange
.