harmony 鸿蒙OH_NativeXComponent_Callback

  • 2025-06-12
  • 浏览 (4)

OH_NativeXComponent_Callback

Overview

Registers callbacks for the surface lifecycle and touch event.

Since: 8

Related Modules:

Native XComponent

Summary

Member Variables

Name Description
OnSurfaceCreated Invoked when a surface is created.
OnSurfaceChanged Invoked when the surface changes.
OnSurfaceDestroyed Invoked when the surface is destroyed.
DispatchTouchEvent Invoked when a touch event is triggered.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙ArkUI

harmony 鸿蒙ARKUI_TextPickerCascadeRangeContent

harmony 鸿蒙ARKUI_TextPickerRangeContent

harmony 鸿蒙ArkUI_AnimateCompleteCallback

harmony 鸿蒙ArkUI_AttributeItem

harmony 鸿蒙ArkUI_ColorStop

harmony 鸿蒙ArkUI_ContextCallback

harmony 鸿蒙ArkUI_EventModule

harmony 鸿蒙ArkUI_ExpectedFrameRateRange

harmony 鸿蒙ArkUI_IntOffset

0  赞