app :: AppComponent :: on_resume
Triggers are platform specific:
Activity.onResume
UIApplicationDelegate applicationDidBecomeActive
# The application enters the active state, it is in the foreground and interactive
#
# Triggers are platform specific:
# * Android: `Activity.onResume`
# * iOS: `UIApplicationDelegate applicationDidBecomeActive`
fun on_resume do end
lib/app/app_base.nit:60,2--65,21
redef fun on_resume do
super
audio_manager(native_activity).request_audio_focus
for s in sounds do
# Resumes only the sounds paused by the App
if not s.paused then s.resume
end
end
lib/android/audio.nit:724,2--731,4