pub unsafe extern "C" fn OH_ArkUI_SurfaceCallback_SetSurfaceShowEvent(
callback: *mut OH_ArkUI_SurfaceCallback,
onSurfaceShow: Option<unsafe extern "C" fn(surfaceHolder: *mut OH_ArkUI_SurfaceHolder)>,
)Available on crate feature
api-20 only.Expand description
Set the surface show event of the surface callback.
ยงArguments
-
callback- Indicated the pointer to the surface callback. -
onSurfaceShow- Indicates the surface show callback event which will called when the surface is shown.
Available since API-level: 20