take_photo


Description:

public bool take_photo (string filename)

Take a photo with the this and save it to filename.

This method requires that this is playing and ready for capture.

The photo_saved signal will be emitted when the video is saved.

Parameters:

this

a Camera

filename

the name of the file to where the photo will be saved

Returns:

true if the photo was successfully captured, false otherwise




2022 vala-language.org