lightbulb_outline Help shape the future of the Google Play Console, Android Studio, and Firebase. Start survey

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

Fields

durationMillis

added in API level 14
public long durationMillis

Duration in milliseconds that the service has been running.

serviceDetails

added in API level 14
public String serviceDetails

Dump of debug information about the service.

Public constructors

ApplicationErrorReport.RunningServiceInfo

added in API level 14
public ApplicationErrorReport.RunningServiceInfo ()

Create an uninitialized instance of RunningServiceInfo.

ApplicationErrorReport.RunningServiceInfo

added in API level 14
public ApplicationErrorReport.RunningServiceInfo (Parcel in)

Create an instance of RunningServiceInfo initialized from a Parcel.

Parameters
in Parcel

Public methods

dump

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

Dump a BatteryInfo instance to a Printer.

Parameters
pw Printer

prefix String

writeToParcel

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

Save a RunningServiceInfo instance to a parcel.

Parameters
dest Parcel

flags int