pub type OH_OnFrameAvailable = Option<unsafe extern "C" fn(*mut c_void)>;Available on crate features
native_image and api-11 only.Expand description
The callback function of frame available.
Required System Capabilities: SystemCapability.Graphic.Graphic2D.NativeImage
§Arguments
context- User defined context, returned to the user in the callback function
Available since API-level: 11
Version: 1.0
Aliased Type§
pub enum OH_OnFrameAvailable {
None,
Some(unsafe extern "C" fn(*mut c_void)),
}