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 15## Summary 16 17 18### Member Variables 19 20| Name| Description| 21| -------- | -------- | 22| [OH_CaptureSession_OnFocusStateChange](_o_h___camera.md#oh_capturesession_onfocusstatechange) [onFocusStateChange](#onfocusstatechange) | Callback to report a focus status change of a capture session.| 23| [OH_CaptureSession_OnError](_o_h___camera.md#oh_capturesession_onerror) [onError](#onerror) | Callback to report a capture session error.| 24 25 26## Member Variable Description 27 28 29### onError 30 31``` 32OH_CaptureSession_OnError CaptureSession_Callbacks::onError 33``` 34 35**Description** 36 37Callback to report a capture session error. 38 39 40### onFocusStateChange 41 42``` 43OH_CaptureSession_OnFocusStateChange CaptureSession_Callbacks::onFocusStateChange 44``` 45 46**Description** 47 48Callback to report a focus status change of a capture session. 49