# MuiltiMedia\_CameraDeviceCallback ## **Overview** Defines the **CameraDeviceCallback** class to response to device changes. **Since:** 1.0 **Version:** 1.0 ## **Summary** ## Files
Declares functions in the CameraDeviceCallback class to response to device changes. |
OHOS::Media::CameraDeviceCallback::CameraDeviceCallback ()=default |
A constructor used to create a CameraDeviceCallback instance. |
OHOS::Media::CameraDeviceCallback::~CameraDeviceCallback ()=default |
A destructor used to delete the CameraDeviceCallback instance. |
OHOS::Media::CameraDeviceCallback::OnCameraStatus (std::string cameraId, int32_t status) |
cameraId | Indicates the camera ID. |
status | Indicates the camera state. |