Skip to main content

OH_ArkUI_DrawableDescriptor_CreateAnimationController

Function OH_ArkUI_DrawableDescriptor_CreateAnimationController 

Source
pub unsafe extern "C" fn OH_ArkUI_DrawableDescriptor_CreateAnimationController(
    drawableDescriptor: *mut ArkUI_DrawableDescriptor,
    node: ArkUI_NodeHandle,
    controller: *mut *mut ArkUI_DrawableDescriptor_AnimationController,
) -> i32
Available on crate features api-12 and api-22 only.
Expand description

Obtains the animation controller.

§Arguments

  • drawableDescriptor - Indicates the pointer to the drawableDescriptor.

  • node - Indicates the node handle.

  • controller - Indicates the pointer to the animation controller.

§Returns

  • 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: 22