OH_NativeImage_GetTimestamp

Function OH_NativeImage_GetTimestamp 

Source
pub unsafe extern "C" fn OH_NativeImage_GetTimestamp(
    image: *mut OH_NativeImage,
) -> i64
Available on crate feature native_image only.
Expand description

Get the timestamp of the texture image set by the most recent call to OH_NativeImage_UpdateSurfaceImage.

This interface is a non-thread-safe type interface.

Required System Capabilities: SystemCapability.Graphic.Graphic2D.NativeImage

§Arguments

  • image - Indicates the pointer to a OH_NativeImage instance.

§Returns

  • Returns the timestamp associated to the texture image.

Available since API-level: 9

Version: 1.0