# CameraStateCallback ## **Overview** **Related Modules:** [MultiMedia\_CameraStateCallback](MultiMedia_CameraStateCallback.md) **Description:** Declares functions in the **[CameraStateCallback](CameraStateCallback.md)** class. **Since:** 1.0 **Version:** 1.0 ## **Summary** ## Public Member Functions
Public Member Function Name |
Description |
---|---|
CameraStateCallback ()=default |
constructed function. |
virtual destructor function. |
|
virtual void Called when the camera is successfully created. |
|
OnCreateFailed (const std::string cameraId, int32_t errorCode) |
virtual void Called when the camera fails to be created. |
OnReleased (Camera &c) |
virtual void Called when the camera is released. |
OnConfigured (Camera &c) |
virtual void Called when the camera is configured. |
OnConfigureFailed (const std::string cameraId, int32_t errorCode) |
virtual void Called when the camera fails to be configured. |