arkui_sys::styled_string

Function OH_ArkUI_StyledString_AddPlaceholder

Source
pub unsafe extern "C" fn OH_ArkUI_StyledString_AddPlaceholder(
    handle: *mut ArkUI_StyledString,
    placeholder: *mut OH_Drawing_PlaceholderSpan,
)
Available on crate features drawing and api-12 only.
Expand description

Set the placeholder.

ยงArguments

handle - A pointer to the ArkUI_StyledString object.

placeholder - A pointer to the OH_Drawing_PlaceholderSpan object.

Available since API-level: 12