

```
1. typedef struct CaptureSession_Callbacks {...} CaptureSession_Callbacks
```

## 概述

PhonePC/2in1TabletTVWearable

捕获会话的回调。

**起始版本：** 11

**相关模块：** [OH\_Camera](https://developer.huawei.com/consumer/cn/doc/harmonyos-references/capi-oh-camera)

**所在头文件：** [capture\_session.h](https://developer.huawei.com/consumer/cn/doc/harmonyos-references/capi-capture-session-h)

## 汇总

PhonePC/2in1TabletTVWearable

### 成员变量

PhonePC/2in1TabletTVWearable

展开

| 名称 | 描述 |
| --- | --- |
| [OH\_CaptureSession\_OnFocusStateChange](https://developer.huawei.com/consumer/cn/doc/harmonyos-references/capi-capture-session-h#oh_capturesession_onfocusstatechange) onFocusStateChange | 捕获会话焦点状态更改事件。 |
| [OH\_CaptureSession\_OnError](https://developer.huawei.com/consumer/cn/doc/harmonyos-references/capi-capture-session-h#oh_capturesession_onerror) onError | 捕获会话错误事件。 |