AppCallbacks class reference - Unity マニュアル
You can use the AppCallbacks class to connect your main application to the Unity engine.