Symbian C ++ mcameraobserver class method explanation

Source: Internet
Author: User

On the Series 60 Platform, the ccamera class encapsulates camera-related APIs. To use these APIsProgramRequiredA derived class of mcameraobserver (or mcameraobserver2. The relationship between the mcameraobserver class and the ccamera class is the embodiment of the Observer Design Pattern in the Symbian system. Image acquisition can be achieved through the following three methods:
(1) Use ccamera camera captureimage () to start static image capture. After the call is complete, mcameraobserver implements imageready () is called asynchronously. You can access the captured image in this function. This method is generally used to implement the camera function of a mobile phone.
(2) Use ccamera camera startvideocapture () to start video capture. After the video buffer is filled with preset video frames, mcameraobserver implements framebufferready () is called asynchronously. You can access the video buffer in this function. This method is generally used to enable the camera function of a mobile phone.
(3) Use ccamera javasstartviewfinderbitmapsl () to start the transmission of view finder data. After the call is complete, mcameraobserver implements viewfinderframeready () is periodically called. You can access the view finder frame you just obtained in this function ). This method is generally used to enable the viewfinder function during mobile phone photography or video recording.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.