The application enters the active state, it is in the foreground and interactive

Triggers are platform specific:

  • Android: Activity.onResume
  • iOS: UIApplicationDelegate applicationDidBecomeActive

Property definitions

app $ AppComponent :: on_resume
	# 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

app :: ui $ App :: on_resume
	redef fun on_resume do window.on_resume
lib/app/ui.nit:79,2--40

android :: audio $ App :: on_resume
	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

gamnit :: flat_core $ App :: on_resume
	redef fun on_resume
	do
		clock.lapse
		super
	end
lib/gamnit/flat/flat_core.nit:493,2--497,4

app $ CompositeControl :: on_resume
	redef fun on_resume do for i in items do i.on_resume
lib/app/ui.nit:191,2--53