Class AndroidIncubatingAttributes.AndroidAppStateIncubatingValues
java.lang.Object
io.opentelemetry.semconv.incubating.AndroidIncubatingAttributes.AndroidAppStateIncubatingValues
- Enclosing class:
- AndroidIncubatingAttributes
public static final class AndroidIncubatingAttributes.AndroidAppStateIncubatingValues
extends Object
Values for
AndroidIncubatingAttributes.ANDROID_APP_STATE.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringAny time after Activity.onPause() or, if the app has no Activity, Context.stopService() has been called when the app was in the foreground state.static final StringAny time before Activity.onResume() or, if the app has no Activity, Context.startService() has been called in the app for the first time.static final StringAny time after Activity.onResume() or, if the app has no Activity, Context.startService() has been called when the app was in either the created or background states. -
Method Summary
-
Field Details
-
CREATED
Any time before Activity.onResume() or, if the app has no Activity, Context.startService() has been called in the app for the first time.- See Also:
-
BACKGROUND
Any time after Activity.onPause() or, if the app has no Activity, Context.stopService() has been called when the app was in the foreground state.- See Also:
-
FOREGROUND
Any time after Activity.onResume() or, if the app has no Activity, Context.startService() has been called when the app was in either the created or background states.- See Also:
-