Partager via


ServiceHealthStats.MeasurementLaunchCount Field

Definition

Key for a measurement of the total number of times this service was started due to calls to android.content.Context#startService startService() or android.content.Context#bindService bindService() including re-launches after crashes.

[Android.Runtime.Register("MEASUREMENT_LAUNCH_COUNT", ApiSince=24)]
public const int MeasurementLaunchCount = 50002;
[<Android.Runtime.Register("MEASUREMENT_LAUNCH_COUNT", ApiSince=24)>]
val mutable MeasurementLaunchCount : int

Field Value

Value = 50002
Attributes

Remarks

Key for a measurement of the total number of times this service was started due to calls to android.content.Context#startService startService() or android.content.Context#bindService bindService() including re-launches after crashes.

Java documentation for android.os.health.ServiceHealthStats.MEASUREMENT_LAUNCH_COUNT.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to