OH_ArkUI_XComponent_UnregisterOnFrameCallback

Function OH_ArkUI_XComponent_UnregisterOnFrameCallback 

Source
pub unsafe extern "C" fn OH_ArkUI_XComponent_UnregisterOnFrameCallback(
    node: ArkUI_NodeHandle,
) -> i32
Available on crate feature api-20 only.
Expand description

UnRegister the onFrame callback for the XComponent node.

§Arguments

  • node - Indicates the pointer to the XComponent node.

§Returns

  • Returns the status code of the execution. [ARKUI_ERROR_CODE_NO_ERROR] the execution is successful. [ARKUI_ERROR_CODE_PARAM_INVALID] if a parameter error occurs.

Available since API-level: 20

Version: 1.0