pub unsafe extern "C" fn OH_NativeVSync_Create(
name: *const c_char,
length: c_uint,
) -> *mut OH_NativeVSyncExpand description
Creates a NativeVsync instance.
A new NativeVsync instance is created each time this function is called.
Required System Capabilities: SystemCapability.Graphic.Graphic2D.NativeVsync
§Arguments
-
name- Indicates the vsync connection name. -
length- Indicates the name’s length.
§Returns
- Returns the pointer to the NativeVsync instance created.
Available since API-level: 9
Version: 1.0