harmony 鸿蒙OH_NativeXComponent_Callback

  • 2022-08-09
  • 浏览 (397)

OH_NativeXComponent_Callback

概述

注册surface生命周期和触摸事件回调。

起始版本:

8

相关模块:

Native XComponent

汇总

成员变量

成员变量名称 描述
OnSurfaceCreated 创建surface时调用。
OnSurfaceChanged 当surface改变时调用。
OnSurfaceDestroyed 当surface被销毁时调用。
DispatchTouchEvent 当触摸事件被触发时调用。

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Native API

harmony 鸿蒙AVCapability

harmony 鸿蒙AVDemuxer

harmony 鸿蒙AVMuxer

harmony 鸿蒙AVScreenCapture

harmony 鸿蒙AVSource

harmony 鸿蒙AudioDecoder

harmony 鸿蒙AudioEncoder

harmony 鸿蒙CodecBase

harmony 鸿蒙Core

0  赞