arkui_sys::styled_string

Function OH_ArkUI_StyledString_AddText

Source
pub unsafe extern "C" fn OH_ArkUI_StyledString_AddText(
    handle: *mut ArkUI_StyledString,
    content: *const c_char,
)
Available on crate feature api-12 only.
Expand description

Sets the corresponding text content based on the current format string style.

ยงArguments

handle - A pointer to the ArkUI_StyledString object.

content - A pointer to the text content.

Available since API-level: 12