OH_ArkUI_XComponent_GetNativeWindow

Function OH_ArkUI_XComponent_GetNativeWindow 

Source
pub unsafe extern "C" fn OH_ArkUI_XComponent_GetNativeWindow(
    surfaceHolder: *mut OH_ArkUI_SurfaceHolder,
) -> *mut OHNativeWindow
Available on crate feature api-19 only.
Expand description

Obtains the nativeWindow associated with a OH_ArkUI_SurfaceHolder instance.

§Arguments

  • surfaceHolder - Indicates the pointer to this OH_ArkUI_SurfaceHolder instance.

§Returns

  • Returns the nativeWindow associated with this OH_ArkUI_SurfaceHolder instance.

Available since API-level: 19