OH_ArkUI_NotifyArkTSEnvDestroy

Function OH_ArkUI_NotifyArkTSEnvDestroy 

Source
pub unsafe extern "C" fn OH_ArkUI_NotifyArkTSEnvDestroy(env: napi_env)
Available on crate features api-12 and api-20 only.
Expand description

Notify the specified env environment is invalid. Cannot be called on the non-UI thread. Checking for non-UI thread calls will abort.

ยงArguments

  • env - napi environment pointer.

Available since API-level: 20