java.lang.Object | |
↳ | android.app.ActivityManager.RunningServiceInfo |
Information you can retrieve about a particular Service that is currently running in the system.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creator<ActivityManager.RunningServiceInfo> | CREATOR |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
android.os.Parcelable
|
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
activeSince | The time when the service was first made activity, either by someone starting or binding to it. | ||||||||||
clientCount | Number of clients connected to the service. | ||||||||||
crashCount | Number of times the service's process has crashed while the service is running. | ||||||||||
foreground | Set to true if the service has asked to run as a foreground process. | ||||||||||
lastActivityTime | The time when there was last activity in the service (either explicit requests to start it or clients binding to it). | ||||||||||
pid | If non-zero, this is the process the service is running in. | ||||||||||
process | The name of the process this service runs in. | ||||||||||
restarting | If non-zero, this service is not currently running, but scheduled to restart at the given time. | ||||||||||
service | The service component. | ||||||||||
started | Set to true if this service has been explicitly started. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Describe the kinds of special objects contained in this Parcelable's
marshalled representation.
| |||||||||||
Flatten this object in to a Parcel.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Object
| |||||||||||
From interface android.os.Parcelable
|
The time when the service was first made activity, either by someone starting or binding to it.
Number of clients connected to the service.
Number of times the service's process has crashed while the service is running.
Set to true if the service has asked to run as a foreground process.
The time when there was last activity in the service (either explicit requests to start it or clients binding to it).
If non-zero, this is the process the service is running in.
The name of the process this service runs in.
If non-zero, this service is not currently running, but scheduled to restart at the given time.
The service component.
Set to true if this service has been explicitly started.
Describe the kinds of special objects contained in this Parcelable's marshalled representation.
Flatten this object in to a Parcel.
dest | The Parcel in which the object should be written. |
---|---|
flags | Additional flags about how the object should be written. May be 0 or PARCELABLE_WRITE_RETURN_VALUE. |