The Android platform does not provide a direct way to detect focus changes for an individual window. So it can’t call: FCoreDelegates::ApplicationWillDeactivateDelegate and FCoreDelegates::ApplicationHasReactivatedDelegate.
So you should use the onPause and onResume methods instead.
The FCoreDelegates::ApplicationWillEnterBackgroundDelegate and FCoreDelegates::ApplicationHasEnteredForegroundDelegate delegates are called by the engine in response to the onPause and onResume methods. These delegates are not directly related to the focus changes of the game window, but rather to changes in the overall state of the application.
If you need to detect focus changes for the game window on Android, you may need to use a different approach, such as listening for touch or key events.