pub unsafe extern "C" fn OH_ArkUI_FocusAxisEvent_SetStopPropagation(
event: *const ArkUI_UIInputEvent,
stopPropagation: bool,
) -> i32Available on crate features
api-12 and api-15 only.Expand description
Sets whether to prevent a focus axis event from bubbling up.
§Arguments
-
event- Indicates the pointer to the current UI input event. -
stopPropagation- Indicates whether to stop event propagation.
§Returns
- Returns the result code.
Returns [
ARKUI_ERROR_CODE_NO_ERROR] if the operation is successful. Returns [ARKUI_ERROR_CODE_PARAM_INVALID] if a parameter error occurs.
Available since API-level: 15