Skip to main content

OH_ArkUI_DrawableDescriptor_GetAnimationStatus

Function OH_ArkUI_DrawableDescriptor_GetAnimationStatus 

Source
pub unsafe extern "C" fn OH_ArkUI_DrawableDescriptor_GetAnimationStatus(
    controller: *mut ArkUI_DrawableDescriptor_AnimationController,
    status: *mut DrawableDescriptor_AnimationStatus,
) -> i32
Available on crate features api-12 and api-22 only.
Expand description

Obtains the animation playback status.

§Arguments

  • controller - Indicates the pointer to the animation controller.

  • status - Indicates the pointer to the animation playback status.

§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