Skip to main content

OH_ImageSourceNative_ModifyImageProperty

Function OH_ImageSourceNative_ModifyImageProperty 

Source
pub unsafe extern "C" fn OH_ImageSourceNative_ModifyImageProperty(
    source: *mut OH_ImageSourceNative,
    key: *mut Image_String,
    value: *mut Image_String,
) -> Image_ErrorCode
Expand description

@brief Obtains the value of an image property. The output value.data is terminated with a string terminator.

@param source Pointer to an OH_ImageSourceNative object. @param key Pointer to the property key. @param value Pointer to the value obtained. @return {@link IMAGE_SUCCESS} if the execution is successful.
{@link IMAGE_BAD_PARAMETER} source is nullptr, or key is nullptr, or value is nullptr, or failed to modify image property because of invalid parameters. @since 12