|
Ultralight C API 2.0.0
|
#include <Ultralight/CAPI/CAPI_DOMData.h>
One value of a field or of an action's payload.
Only the member that matches kind is meaningful.
Public Attributes | |
| unsigned char | kind |
| The kind of value (a ULDOMDataValueKind value). | |
| bool | bool_value |
| The value of a boolean. | |
| long long | int64_value |
| The value of an integer. | |
| double | double_value |
| The value of a double-precision float. | |
| const char * | string_value |
| The UTF-8 text of a string. | |
| size_t | string_length |
| The length of string_value in bytes (text can contain NUL characters). | |
| ULColor | color_value |
| The value of a color. | |
| bool bool_value |
The value of a boolean.
| ULColor color_value |
The value of a color.
| double double_value |
The value of a double-precision float.
| long long int64_value |
The value of an integer.
| unsigned char kind |
The kind of value (a ULDOMDataValueKind value).
| size_t string_length |
The length of string_value in bytes (text can contain NUL characters).
The length is exact, so 0 means an empty string.
| const char* string_value |
The UTF-8 text of a string.
In a value the library gives you, it's never NULL, it's NUL-terminated, and it's valid only during the call. In a value you pass in, NULL means an empty string.