1# CaptureSession_Callbacks 2 3 4## Overview 5 6The CaptureSession_Callbacks struct describes the callbacks related to a capture session. 7 8For details, see [OH_CaptureSession_RegisterCallback](_o_h___camera.md#oh_capturesession_registercallback). 9 10**Since**: 11 11 12**Related module**: [OH_Camera](_o_h___camera.md) 13 14**Header file**: [capture_session.h](capture__session_8h.md) 15 16 17## Summary 18 19 20### Member Variables 21 22| Name| Description| 23| -------- | -------- | 24| [OH_CaptureSession_OnFocusStateChange](_o_h___camera.md#oh_capturesession_onfocusstatechange) [onFocusStateChange](#onfocusstatechange) | Callback to report a focus status change of a capture session.| 25| [OH_CaptureSession_OnError](_o_h___camera.md#oh_capturesession_onerror) [onError](#onerror) | Callback to report a capture session error.| 26 27 28## Member Variable Description 29 30 31### onError 32 33``` 34OH_CaptureSession_OnError CaptureSession_Callbacks::onError 35``` 36 37**Description** 38 39Callback to report a capture session error. 40 41 42### onFocusStateChange 43 44``` 45OH_CaptureSession_OnFocusStateChange CaptureSession_Callbacks::onFocusStateChange 46``` 47 48**Description** 49 50Callback to report a focus status change of a capture session. 51