harmony 鸿蒙OH_NativeXComponent_Callback

  • 2023-06-24
  • 浏览 (441)

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 鸿蒙Native APIs

harmony 鸿蒙AVCapability

harmony 鸿蒙AVDemuxer

harmony 鸿蒙AVMuxer

harmony 鸿蒙AVScreenCapture

harmony 鸿蒙AVSource

harmony 鸿蒙AudioDecoder

harmony 鸿蒙AudioEncoder

harmony 鸿蒙CodecBase

harmony 鸿蒙Core

0  赞