openharmony 鸿蒙 capi-image-nativemodule-oh-imagereceiveroptions

2026-08-25 浏览 (1)

OH_ImageReceiverOptions

typedef struct OH_ImageReceiverOptions OH_ImageReceiverOptions

Overview

The struct describes the data type name of the image receiver options.

OH_ImageReceiverOptions is the image receiver option setter struct encapsulated at the native layer. It is used to pass parameters during the creation of an OH_ImageReceiverNative object. The struct cannot be directly operated. Instead, functions must be called to create and release the struct and operate the fields in the struct.

To create an OH_ImageReceiverOptions object, call OH_ImageReceiverOptions_Create.

To release an OH_ImageReceiverOptions object, call OH_ImageReceiverOptions_Release.

The table below describes the content and operation mode of the OH_ImageReceiverOptions struct.

Field TypeField NameField DescriptionOperation FunctionFunction Description
Image_SizesizeImage size.OH_ImageReceiverOptions_GetSizeObtains the image size of an OH_ImageReceiverOptions object.
Image_SizesizeImage size.OH_ImageReceiverOptions_SetSizeSets the image size of an OH_ImageReceiverOptions object.
int32_tcapacityCapacity of the image buffer.OH_ImageReceiverOptions_GetCapacityObtains the image cache capacity of an OH_ImageReceiverOptions object.
int32_tcapacityCapacity of the image buffer.OH_ImageReceiverOptions_SetCapacitySets the image cache capacity of an OH_ImageReceiverOptions object.

Since: 12

Related module: Image_NativeModule

Header file: image_receiver_native.h

你可能感兴趣的鸿蒙文章

openharmony 鸿蒙 capi-image-nativemodule-oh-pixelmap-hdrmetadatavalue

openharmony 鸿蒙 capi-image-imagepacker-opts-

openharmony 鸿蒙 capi-image-nativemodule-image-region

openharmony 鸿蒙 capi-image-imagepacker-native-

openharmony 鸿蒙 capi-image-imagenative-

openharmony 鸿蒙 capi-image-processing-h

openharmony 鸿蒙 capi-image-ohosimagesourcesupportedformat

openharmony 鸿蒙 capi-image-nativemodule-image-size

openharmony 鸿蒙 capi-image-mdk-h

openharmony 鸿蒙 capi-image-ohosimagesourcedelaytimelist

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