Partager via


ServiceHealthStats.MeasurementStartServiceCount Field

Definition

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

[Android.Runtime.Register("MEASUREMENT_START_SERVICE_COUNT", ApiSince=24)]
public const int MeasurementStartServiceCount = 50001;
[<Android.Runtime.Register("MEASUREMENT_START_SERVICE_COUNT", ApiSince=24)>]
val mutable MeasurementStartServiceCount : int

Field Value

Value = 50001
Attributes

Remarks

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

Java documentation for android.os.health.ServiceHealthStats.MEASUREMENT_START_SERVICE_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