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.

Get the latest Android developer news and tips that will help you find success on Google Play.

* Required Fields

Hooray!

Browse this site in ?

You requested a page in , but your language preference for this site is .

Would you like to change your language preference and browse this site in ? If you want to change your language preference later, use the language menu at the bottom of each page.

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 short survey?
Help us improve the Android developer experience.
(Sep 2017 survey)