MCamera lets your application access device’s default camera application.
Note: Replace ComponentName with the actual name of the component, that is, the value of its Name property. For example: MCamera1.
- Opens device’s camera application to take a picture. If picture is taken, it triggers OnSuccess event, else it triggers OnError.
- This event gets triggered when, for some reason, a picture was not taken after calling ComponentNameGetPicture. Its only parameter is a string with a description of the circumstances which prevented the picture from being taken.
- This event gets triggered when a picture is taken after calling ComponentNameGetPicture. Its only parameter is a string which the location of the image file.