ServiceHealthStats
class ServiceHealthStats
| kotlin.Any | |
| ↳ | android.os.health.ServiceHealthStats |
Keys for HealthStats returned from HealthStats.getStats(int) with the PackageHealthStats.STATS_SERVICES key.
Summary
| Constants | |
|---|---|
| static Int |
Key for a measurement of the total number of times this service was started due to calls to |
| static Int |
Key for a measurement of the number of times this service was started due to calls to |
Constants
MEASUREMENT_LAUNCH_COUNT
static val MEASUREMENT_LAUNCH_COUNT: Int
Key for a measurement of the total number of times this service was started due to calls to startService() or android.content.Context#bindService including re-launches after crashes.
Value: 50002MEASUREMENT_START_SERVICE_COUNT
static val MEASUREMENT_START_SERVICE_COUNT: Int
Key for a measurement of the number of times this service was started due to calls to startService(), including re-launches after crashes.
Value: 50001