# MultiMedia\_CameraStateCallback ## **Overview** Provides callbacks for camera states to configure responses to the states. **Since:** 1.0 **Version:** 1.0 ## **Summary** ## Files
OHOS::Media::CameraStateCallback::CameraStateCallback ()=default |
A constructor used to create a CameraStateCallback instance. |
A destructor used to delete the CameraStateCallback instance. |
|
OHOS::Media::CameraStateCallback::OnCreateFailed (const std::string cameraId, int32_t errorCode) |
|
OHOS::Media::CameraStateCallback::OnConfigureFailed (const std::string cameraId, int32_t errorCode) |
c | camera Indicates the Camera object. |
c | Indicates the Camera object. |
errorCode | Indicates the error code. |
c | Indicates the Camera object. |
cameraId | Indicates the camera ID. |
errorCode | Indicates the error code. |
c | Indicates the Camera object. |