1# ImageEffect_DataValue
2
3
4## Overview
5
6The **ImageEffect_DataValue** union describes the data values.
7
8**System capability**: SystemCapability.Multimedia.ImageEffect.Core
9
10**Since**: 12
11
12**Related module**: [ImageEffect](_image_effect.md)
13
14
15## Summary
16
17
18### Member Variables
19
20| Name| Description|
21| -------- | -------- |
22| int32_t [int32Value](#int32value) | Integer value, corresponding to [EFFECT_DATA_TYPE_INT32](_image_effect.md). |
23| float [floatValue](#floatvalue) | Single-precision floating-point value, corresponding to [EFFECT_DATA_TYPE_FLOAT](_image_effect.md). |
24| double [doubleValue](#doublevalue) | Double-precision floating-point value, corresponding to [EFFECT_DATA_TYPE_DOUBLE](_image_effect.md). |
25| char [charValue](#charvalue) | Byte value, corresponding to [EFFECT_DATA_TYPE_CHAR](_image_effect.md). |
26| long [longValue](#longvalue) | Long integer value, corresponding to [EFFECT_DATA_TYPE_LONG](_image_effect.md). |
27| bool [boolValue](#boolvalue) | Boolean value, corresponding to [EFFECT_DATA_TYPE_BOOL](_image_effect.md). |
28| void \* [ptrValue](#ptrvalue) | Pointer value, corresponding to [EFFECT_DATA_TYPE_PTR](_image_effect.md). |
29
30
31## Member Variable Description
32
33
34### boolValue
35
36```
37bool ImageEffect_DataValue::boolValue
38```
39**Description**
40
41Boolean value, corresponding to [EFFECT_DATA_TYPE_BOOL](_image_effect.md).
42
43
44### charValue
45
46```
47char ImageEffect_DataValue::charValue
48```
49**Description**
50
51Byte value, corresponding to [EFFECT_DATA_TYPE_CHAR](_image_effect.md).
52
53
54### doubleValue
55
56```
57double ImageEffect_DataValue::doubleValue
58```
59**Description**
60
61Double-precision floating-point value, corresponding to [EFFECT_DATA_TYPE_DOUBLE](_image_effect.md).
62
63
64### floatValue
65
66```
67float ImageEffect_DataValue::floatValue
68```
69**Description**
70
71Single-precision floating-point value, corresponding to [EFFECT_DATA_TYPE_FLOAT](_image_effect.md).
72
73
74### int32Value
75
76```
77int32_t ImageEffect_DataValue::int32Value
78```
79**Description**
80
81Integer value, corresponding to [EFFECT_DATA_TYPE_INT32](_image_effect.md).
82
83
84### longValue
85
86```
87long ImageEffect_DataValue::longValue
88```
89**Description**
90
91Long integer value, corresponding to [EFFECT_DATA_TYPE_LONG](_image_effect.md).
92
93
94### ptrValue
95
96```
97void* ImageEffect_DataValue::ptrValue
98```
99**Description**
100
101Pointer value, corresponding to [EFFECT_DATA_TYPE_PTR](_image_effect.md).