How can I detect closing of an application?

Hello, I have a piece of code that uses the tizen.application.LaunchAppControl to open another program (such as screen mirroring) within my application… Okay, the question is

How can I know when an application launched with ‘tizen.application.launchAppControl’ is closed or terminated?

because the application is still visible (the screen mirroring not full screen)…

Hello,

For Smart TV questions, please login to Seller Office TV (Seller2.0) and Ask Question in the 1:1 Q&A section

Hasan