arkui_sys::drawable_descriptor

Function OH_ArkUI_DrawableDescriptor_GetAnimationDuration

Source
pub unsafe extern "C" fn OH_ArkUI_DrawableDescriptor_GetAnimationDuration(
    drawableDescriptor: *mut ArkUI_DrawableDescriptor,
) -> i32
Available on crate feature api-12 only.
Expand description

Obtains the total playback duration.

§Arguments

drawableDescriptor - Indicates the pointer to the drawableDescriptor.

§Returns

Return the total playback duration. The unit is millisecond.

Available since API-level: 12