OH_ArkUI_AnimatorEvent_GetUserData

Function OH_ArkUI_AnimatorEvent_GetUserData 

Source
pub unsafe extern "C" fn OH_ArkUI_AnimatorEvent_GetUserData(
    event: *mut ArkUI_AnimatorEvent,
) -> *mut c_void
Available on crate feature api-12 only.
Expand description

Obtains the custom object in an animation event object.

§Arguments

  • event - Indicates an animation event object.

§Returns

  • Returns the custom object. Returns NULL if a parameter error occurs.

Available since API-level: 12