pub unsafe extern "C" fn OH_ArkUI_PointerEvent_SetStopPropagation(
event: *const ArkUI_UIInputEvent,
stopPropagation: bool,
) -> i32Available on crate feature
api-12 only.Expand description
@brief Sets whether to prevent event bubbling.
@param event Indicates the pointer to the current UI input event. @param stopPropagation Indicates whether the event is prevented from bubbling. @return Returns the status code of the execution. If 0 is returned, the setting is successful. If 401 is returned, the execution fails. The possible cause of the failure is that the event parameter is abnormal, such as a null pointer. @since 12