- Source:
Members
(static, constant) DEFAULT_OPTIONS :Options
Type:
- Default Value:
{"mediaType":"photo","videoQuality":"high","quality":1,"maxWidth":0,"maxHeight":0,"includeBase64":false,"saveToPhotos":false,"durationLimit":0}
- Source:
Methods
(static) launchCamera(options, callback)
This function requests the user's device to use its camera.
Parameters:
Name | Type | Description |
---|---|---|
options |
Options | The options to pass to camera processing. |
callback |
function | An arbitrary callback to use after launching the camera. |
- Source:
(static) launchCamera(options, callback)
This function requests the user's device to use its image library.
Parameters:
Name | Type | Description |
---|---|---|
options |
Options | The options to pass to camera processing. |
callback |
function | An arbitrary callback to use after launching the library. |
- Source: