• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# OhosImageSourceUpdateData
2
3
4## Overview
5
6The **OhosImageSourceUpdateData** struct defines the update data option of the image source. It is obtained by calling [OH_ImageSource_UpdateData](image.md#oh_imagesource_updatedata).
7
8**System capability**: SystemCapability.Multimedia.Image
9
10**Since**: 10
11
12**Related module**: [Image](image.md)
13
14
15## Summary
16
17
18### Member Variables
19
20| Name| Description|
21| -------- | -------- |
22| uint8_t \* [buffer](image.md#buffer-22) = nullptr | Pointer to the buffer for storing the update data.|
23| size_t [bufferSize](image.md#buffersize-22) = 0 | Size of the buffer.|
24| uint32_t [offset](image.md#offset) = 0 | Offset of the update data in the buffer.|
25| uint32_t [updateLength](image.md#updatelength) = 0 | Length of the update data in the buffer.|
26| int8_t [isCompleted](image.md#iscompleted) = 0 | Whether the image source data update is completed.|
27