Titanium.App.pause

Event of Titanium.App.
Platform Since
iPhone 0.1
iPad 0.1

Summary

Fired when the application transitions to the background.

Description

This event fires when the user leaves the application or it is paused due to notifications and incoming phone calls.

See applicationWillResignActive for the exact behavior that triggers this event.

Note that calls to functions that modify the UI during this event may be partially executed, up to the UI call before the suspension. If this happens, the remainder of the code will be executed after the application is resumed, but before the resume event is triggered.

Properties

Properties of the object passed to the event callback:
Name Type Summary
source Object

Source object that fired the event.

type String

Name of the event fired.