Home
last modified time | relevance | path

Searched refs:onSurfaceDestroyed (Results 1 – 9 of 9) sorted by relevance

/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-basic-components-xcomponent.md341 ### onSurfaceDestroyed<sup>12+</sup>
343 onSurfaceDestroyed(surfaceId: string): void
519 onSurfaceDestroyed(surfaceId: string): void {
520 console.log(`onSurfaceDestroyed surfaceId: ${surfaceId}`);
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-basic-components-xcomponent.md341 ### onSurfaceDestroyed<sup>12+</sup>
343 onSurfaceDestroyed(surfaceId: string): void
515 onSurfaceDestroyed(surfaceId: string): void {
516 console.log(`onSurfaceDestroyed surfaceId: ${surfaceId}`);
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/xcomponent/
H A Dxcomponent_property_test_ng.cpp1615 …auto onSurfaceDestroyed = [&onSurfaceDestroyedSurfaceId](const std::string& surfaceId, const std::… in __anon9fa1cc8f0602() variable
1641 …entModelNG::SetControllerOnDestroyed(Referenced::RawPtr(frameNode), std::move(onSurfaceDestroyed));
1679 …auto onSurfaceDestroyed = [&onSurfaceDestroyedSurfaceId](const std::string& surfaceId, const std::… in __anon9fa1cc8f0902() variable
1705 …entModelNG::SetControllerOnDestroyed(Referenced::RawPtr(frameNode), std::move(onSurfaceDestroyed));
H A Dxcomponent_test_ng.cpp1293 …auto onSurfaceDestroyed = [&onSurfaceDestroyedSurfaceId](const std::string& surfaceId, const std::… in __anon3398720b1502() variable
1298 testProperty.surfaceDestroyedEvent = std::move(onSurfaceDestroyed);
/ohos5.0/docs/zh-cn/application-dev/reference/native-lib/
H A Dopengles.md428 onSurfaceDestroyed(surfaceId: string): void {
429 console.log(`onSurfaceDestroyed surfaceId: ${surfaceId}`);
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_xcomponent.cpp126 auto onSurfaceDestroyed = [execCtx, func = std::move(jsFunc), node = targetNode]( in SetControllerOnDestroyed() local
136 XComponentModel::GetInstance()->SetControllerOnDestroyed(std::move(onSurfaceDestroyed)); in SetControllerOnDestroyed()
/ohos5.0/docs/zh-cn/application-dev/ui/
H A Dnapi-xcomponent-guidelines.md44 > XComponent销毁(onSurfaceDestroyed回调触发后)时会释放上述接口中获取的OH_NativeXComponent和window对象。如果再次使用获取的对象,有可能会导致使…
1159 | onSurfaceDestroyed(surfaceId: string): void | 当XComponent持有的Surface销毁后进行该回调。 …
1203 onSurfaceDestroyed(surfaceId: string): void {
1204 console.log(`onSurfaceDestroyed surfaceId: ${surfaceId}`)
/ohos5.0/docs/en/application-dev/ui/
H A Dnapi-xcomponent-guidelines.md44 > When the XComponent is destroyed (after the **onSurfaceDestroyed** callback is triggered), the **…
1159 | onSurfaceDestroyed(surfaceId: string): void | Called when the surface held by th…
1203 onSurfaceDestroyed(surfaceId: string): void {
1204 console.log(`onSurfaceDestroyed surfaceId: ${surfaceId}`)
/ohos5.0/docs/en/application-dev/reference/native-lib/
H A Dopengles.md429 onSurfaceDestroyed(surfaceId: string): void {
430 console.log(`onSurfaceDestroyed surfaceId: ${surfaceId}`);