pub unsafe extern "C" fn OH_ArkUI_PointerEvent_SetStopPropagation(
event: *const ArkUI_UIInputEvent,
stopPropagation: bool,
) -> i32Available on crate feature
api-12 only.Expand description
Sets whether to prevent event bubbling.
§Arguments
-
event- Indicates the pointer to the current UI input event. -
stopPropagation- Indicates whether the event is prevented from bubbling.
§Returns
- 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.
Available since API-level: 12