While implementing QCamera I noticed 2 signals which describe camera status/state...
What is exactly the difference between these QCamera::State and QCamera::Status?
void stateChanged ( QCamera::State state )
void statusChanged ( QCamera::Status status )
- QCamera::Status has a QCamera::ActiveStatus value which is: "The camera has been started and can produce data. The viewfinder displays video frames in active state."
- QCamera::State has a QCamera::ActiveState value which is: "In the active state as soon as camera is started the viewfinder displays video frames and the camera is ready for capture."
I'm coding now a wrapper only for still images. In which situation should I emit a MyWrapper::canGetStillImage( true ); signal?
1) QCamera status == QCamera::ActiveStatus AND state == QCamera::ActiveState
2) QCamera status == QCamera::ActiveStatus OR state == QCamera::ActiveState