Skip to content

Most visited

Recently visited

navigation

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
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.

Take a one-minute survey?
Help us improve Android tools and documentation.