|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectandroid.app.ActivityManager.RunningServiceInfo
public static class ActivityManager.RunningServiceInfo
Information you can retrieve about a particular Service that is currently running in the system.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface android.os.Parcelable |
|---|
Parcelable.Creator<T> |
| Field Summary | |
|---|---|
long |
activeSince
The time when the service was first made activity, either by someone starting or binding to it. |
int |
clientCount
Number of clients connected to the service. |
int |
crashCount
Number of times the service's process has crashed while the service is running. |
static Parcelable.Creator<ActivityManager.RunningServiceInfo> |
CREATOR
|
boolean |
foreground
Set to true if the service has asked to run as a foreground process. |
long |
lastActivityTime
The time when there was last activity in the service (either explicit requests to start it or clients binding to it). |
int |
pid
If non-zero, this is the process the service is running in. |
String |
process
The name of the process this service runs in. |
long |
restarting
If non-zero, this service is not currently running, but scheduled to restart at the given time. |
ComponentName |
service
The service component. |
boolean |
started
Set to true if this service has been explicitly started. |
| Fields inherited from interface android.os.Parcelable |
|---|
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE |
| Constructor Summary | |
|---|---|
ActivityManager.RunningServiceInfo()
|
|
| Method Summary | |
|---|---|
int |
describeContents()
Describe the kinds of special objects contained in this Parcelable's marshalled representation. |
void |
readFromParcel(Parcel source)
|
void |
writeToParcel(Parcel dest,
int flags)
Flatten this object in to a Parcel. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public ComponentName service
public int pid
public String process
public boolean foreground
public long activeSince
public boolean started
public int clientCount
public int crashCount
public long lastActivityTime
public long restarting
public static final Parcelable.Creator<ActivityManager.RunningServiceInfo> CREATOR
| Constructor Detail |
|---|
public ActivityManager.RunningServiceInfo()
| Method Detail |
|---|
public int describeContents()
Parcelable
describeContents in interface Parcelable
public void writeToParcel(Parcel dest,
int flags)
Parcelable
writeToParcel in interface Parcelabledest - The Parcel in which the object should be written.flags - Additional flags about how the object should be written.
May be 0 or Parcelable.PARCELABLE_WRITE_RETURN_VALUE.public void readFromParcel(Parcel source)
|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||