From HTML5 Builder
MCapture lets your application access image, audio, and video capture capabilities of the device.
Note: Replace ComponentName with the actual name of the component, that is, the value of its Name property. For example: MCapture1.
- Starts camera application or audio/video recorder and retrieves files user generates with them. If files are successfully retrieved, it triggers OnSuccess event, else it triggers OnError.
- This event gets triggered when, for some reason, media files could not be retrieved after calling ComponentNameCapture. Its only parameter is a CaptureError object.
- This event gets triggered when media files are successfully retrieved after calling ComponentNameGetPicture. Its only parameter is an array of MediaFile objects.