pub unsafe extern "C" fn OH_ArkUI_ConvertToHtml(
descriptor: *mut ArkUI_StyledString_Descriptor,
) -> *const c_charAvailable on crate features
api-12 and api-14 only.Expand description
Converts styled string information into HTML.
§Arguments
descriptor- Pointer to an ArkUI_StyledString_Descriptor object.
§Returns
- Returns the pointer to the resulting HTML string. This pointer is managed internally and should be destroyed by calling OH_ArkUI_StyledString_Descriptor_Destroy() when no longer needed to free the memory.
Available since API-level: 14