OhosImageSourceUpdateData

Overview

The OhosImageSourceUpdateData struct defines the update data option of the image source. It is obtained by calling OH_ImageSource_UpdateData.

System capability: SystemCapability.Multimedia.Image

Since: 10

Related module: Image

Summary

Member Variables

Name Description
uint8_t * buffer = nullptr Pointer to the buffer for storing the update data.
size_t bufferSize = 0 Size of the buffer.
uint32_t offset = 0 Offset of the update data in the buffer.
uint32_t updateLength = 0 Length of the update data in the buffer.
int8_t isCompleted = 0 Whether the image source data update is completed.