void start(int index, bool showExitButton, bool showSwitchButton, bool showCaptureButton, bool showCountdownButton, int delaySeconds, bool showPreview, bool saveToFile)

This function can be used to display the camera with specific settings.

Parameters

Name Description
index The camera index.
showExitButton True to show a button to exit the camera, false otherwise.
showCaptureButton True to show a capture photo button, false otherwise.
showCountdownButton True to show a countdown button, false otherwise.
delaySeconds The number of seconds to delay before capturing the photo.
showPreview True to show a preview of the photo, false otherwise.
saveToFile True to save the photo to a file, false otherwise.

Return

Nothing returned