OH_ArkUI_SurfaceCallback_SetSurfaceHideEvent

Function OH_ArkUI_SurfaceCallback_SetSurfaceHideEvent 

Source
pub unsafe extern "C" fn OH_ArkUI_SurfaceCallback_SetSurfaceHideEvent(
    callback: *mut OH_ArkUI_SurfaceCallback,
    onSurfaceHide: Option<unsafe extern "C" fn(surfaceHolder: *mut OH_ArkUI_SurfaceHolder)>,
)
Available on crate feature api-20 only.
Expand description

Set the surface hide event of the surface callback.

ยงArguments

  • callback - Indicated the pointer to the surface callback.

  • onSurfaceHide - Indicates the surface hide callback event which will called when the surface is hide.

Available since API-level: 20