arkui_sys::drawable_descriptor

Function OH_ArkUI_DrawableDescriptor_SetAnimationDuration

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

Sets the total playback duration.

ยงArguments

drawableDescriptor - Indicates the pointer to the drawableDescriptor.

duration - Indicates the total playback duration. The unit is millisecond.

Available since API-level: 12