# OHOS::Media::FrameStateCallback ## **Overview** **Related Modules:** [MultiMedia\_FrameStateCallback](MultiMedia_FrameStateCallback.md) **Description:** Provides functions to listen for frame states and response to the state changes. **Since:** 1.0 **Version:** 1.0 ## **Summary** ## Public Member Functions
FrameStateCallback ()=default |
A constructor used to create a FrameStateCallback instance. |
~FrameStateCallback ()=default |
A destructor used to delete the FrameStateCallback instance. |
OnFrameFinished (Camera &camera, FrameConfig &frameConfig, FrameResult &frameResult) |
|
OnFrameError (Camera &camera, FrameConfig &frameConfig, int32_t errorCode, FrameResult &frameResult) |