AGK for Pascal
ContentsIndexHome
PreviousUpNext
TAgkApplication.Resume Method

Is called if your app has been passed to the background and has just been reactivated. You should activate a pause screen when this happens.

Syntax
Pascal
procedure Resume; virtual;

Apps will not run whilst they are in the background so that first chance your app will get to receive this notification is when it returns from the background and continues running. Since the user may not yet be ready to continue playing you should check this value and show a pause screen until they are ready. 

By default, this event is just passed down to the current scene.

Copyright (c) 2012. All rights reserved.