Skip to main content

OH_ImageNative_GetTimestamp

Function OH_ImageNative_GetTimestamp 

Source
pub unsafe extern "C" fn OH_ImageNative_GetTimestamp(
    image: *mut OH_ImageNative,
    timestamp: *mut i64,
) -> Image_ErrorCode
Expand description

@brief Obtains the timestamp of an {@link OH_ImageNative} object. Timestamps, measured in nanoseconds, are usually monotonically increasing.

@param image Pointer to an {@link OH_ImageNative} object. @param timestamp Pointer to the timestamp. @return {@link Image_ErrorCode} IMAGE_SUCCESS The operation is successful.
{@link Image_ErrorCode} IMAGE_BAD_PARAMETER A parameter is incorrect. @since 12