Skip to main content

OH_ImageSourceNative_GetDelayTimeList

Function OH_ImageSourceNative_GetDelayTimeList 

Source
pub unsafe extern "C" fn OH_ImageSourceNative_GetDelayTimeList(
    source: *mut OH_ImageSourceNative,
    delayTimeList: *mut i32,
    size: usize,
) -> Image_ErrorCode
Expand description

@brief Obtains the image delay time list.

@param source Pointer to an OH_ImageSourceNative object. @param delayTimeList Pointer to the delay time list obtained. It cannot be a null pointer. @param size Size of the delay time list. You can use {@link OH_ImageSourceNative_GetFrameCount} to obtain the size. @return {@link IMAGE_SUCCESS} if the execution is successful.
{@link IMAGE_BAD_PARAMETER} source is nullptr, or delayTimeList is nullptr. @since 12