Most visited

Recently visited

Added in API level 14

ApplicationErrorReport.RunningServiceInfo

public static class ApplicationErrorReport.RunningServiceInfo
extends Object

java.lang.Object
   ↳ android.app.ApplicationErrorReport.RunningServiceInfo


Describes a running service report.

Summary

Fields

public long durationMillis

Duration in milliseconds that the service has been running.

public String serviceDetails

Dump of debug information about the service.

Public constructors

ApplicationErrorReport.RunningServiceInfo()

Create an uninitialized instance of RunningServiceInfo.

ApplicationErrorReport.RunningServiceInfo(Parcel in)

Create an instance of RunningServiceInfo initialized from a Parcel.

Public methods

void dump(Printer pw, String prefix)

Dump a BatteryInfo instance to a Printer.

void writeToParcel(Parcel dest, int flags)

Save a RunningServiceInfo instance to a parcel.

Inherited methods

From class java.lang.Object

Fields

durationMillis

Added in API level 14
long durationMillis

Duration in milliseconds that the service has been running.

serviceDetails

Added in API level 14
String serviceDetails

Dump of debug information about the service.

Public constructors

ApplicationErrorReport.RunningServiceInfo

Added in API level 14
ApplicationErrorReport.RunningServiceInfo ()

Create an uninitialized instance of RunningServiceInfo.

ApplicationErrorReport.RunningServiceInfo

Added in API level 14
ApplicationErrorReport.RunningServiceInfo (Parcel in)

Create an instance of RunningServiceInfo initialized from a Parcel.

Parameters
in Parcel

Public methods

dump

Added in API level 14
void dump (Printer pw, 
                String prefix)

Dump a BatteryInfo instance to a Printer.

Parameters
pw Printer
prefix String

writeToParcel

Added in API level 14
void writeToParcel (Parcel dest, 
                int flags)

Save a RunningServiceInfo instance to a parcel.

Parameters
dest Parcel
flags int

Hooray!