OH_ArkUI_NodeCustomEvent_GetLayoutConstraintInMeasure

Function OH_ArkUI_NodeCustomEvent_GetLayoutConstraintInMeasure 

Source
pub unsafe extern "C" fn OH_ArkUI_NodeCustomEvent_GetLayoutConstraintInMeasure(
    event: *mut ArkUI_NodeCustomEvent,
) -> *mut ArkUI_LayoutConstraint
Available on crate feature api-12 only.
Expand description

Obtains the size constraint for measurement through a custom component event.

§Arguments

  • event - Indicates the pointer to the custom component event.

§Returns

  • Returns the pointer to the size constraint.

Available since API-level: 12