semantic-conventions/docs/attributes-registry/ios.md

1.8 KiB

iOS

iOS Lifecycle Event Attributes

Attribute Type Description Examples Stability
ios.state string This attribute represents the state the application has transitioned into at the occurrence of the event. [1] active Experimental

[1]: The iOS lifecycle states are defined in the UIApplicationDelegate documentation, and from which the OS terminology column values are derived.

ios.state MUST be one of the following:

Value Description Stability
active The app has become active. Associated with UIKit notification applicationDidBecomeActive. Experimental
inactive The app is now inactive. Associated with UIKit notification applicationWillResignActive. Experimental
background The app is now in the background. This value is associated with UIKit notification applicationDidEnterBackground. Experimental
foreground The app is now in the foreground. This value is associated with UIKit notification applicationWillEnterForeground. Experimental
terminate The app is about to terminate. Associated with UIKit notification applicationWillTerminate. Experimental