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 Get timestamp from an {@link OH_ImageNative} object.

@param image Indicates the pointer to an {@link OH_ImageNative} object. @param timestamp Indicates the pointer to the timestamp obtained. @return Image functions result code. {@link IMAGE_SUCCESS} if the operation is successful. {@link IMAGE_BAD_PARAMETER} if the input parameter is invalid. @since 12