harmony 鸿蒙OH_OnFrameAvailableListener

2025-06-12 浏览 (1)

OH_OnFrameAvailableListener

Overview

The OH_OnFrameAvailableListener struct describes an OH_NativeImage listener, which is registered through OH_NativeImage_SetOnFrameAvailableListener. The listener triggers a callback when a frame is available.

Since: 11

Related module: OH_NativeImage

Header file: native_image.h

Summary

Member Variables

NameDescription
contextUser-defined context information, which is returned when the callback is triggered.
onFrameAvailableCallback function triggered when a frame is available.

Member Variable Description

context

void* OH_OnFrameAvailableListener::context

Description

User-defined context information, which is returned when the callback is triggered.

onFrameAvailable

OH_OnFrameAvailable OH_OnFrameAvailableListener::onFrameAvailable

Description

Callback function triggered when a frame is available.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙ArkGraphics 2D

harmony 鸿蒙BufferHandle

harmony 鸿蒙ColorSpacePrimaries

harmony 鸿蒙DisplaySoloist_ExpectedRateRange

harmony 鸿蒙_drawing

harmony 鸿蒙NativeColorSpaceManager

harmony 鸿蒙NativeDisplaySoloist

harmony 鸿蒙NativeVsync

harmony 鸿蒙NativeWindow

harmony 鸿蒙OH_Drawing_BitmapFormat

  • 所属分类: 后端技术
  • 本文标签: 鸿蒙 软件
  • 版权声明: 本文链接 https://seaxiang.com/blog/x0OclS