

```
1. typedef struct OH_ArkUI_SurfaceCallback OH_ArkUI_SurfaceCallback
```

## 概述

PhonePC/2in1TabletTVWearable

定义Surface生命周期回调函数。

**起始版本：** 19

**相关模块：** [OH\_NativeXComponent Native XComponent](https://developer.huawei.com/consumer/cn/doc/harmonyos-references/capi-oh-nativexcomponent-native-xcomponent)

**所在头文件：** [native\_interface\_xcomponent.h](https://developer.huawei.com/consumer/cn/doc/harmonyos-references/capi-native-interface-xcomponent-h)