• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# OH_NativeXComponent_Callback
2
3
4## Overview
5
6Registers a callback for the surface lifecycle and touch event.
7
8**Since:**
98
10
11**Related Modules:**
12
13[Native XComponent](_o_h___native_x_component.md)
14
15
16## Summary
17
18
19### Member Variables
20
21| Name | Description |
22| -------- | -------- |
23| [OnSurfaceCreated](_o_h___native_x_component.md#onsurfacecreated)| Invoked when a surface is created. |
24| [OnSurfaceChanged](_o_h___native_x_component.md#onsurfacechanged)| Invoked when the surface changes.  |
25| [OnSurfaceDestroyed](_o_h___native_x_component.md#onsurfacedestroyed)| Invoked when the surface is destroyed.  |
26| [DispatchTouchEvent](_o_h___native_x_component.md#dispatchtouchevent)| Invoked when a touch event is triggered.  |
27