Android APIs
public static class

ApplicationErrorReport.RunningServiceInfo

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

Class Overview

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.
[Expand]
Inherited Methods
From class java.lang.Object

Fields

public long durationMillis

Added in API level 14

Duration in milliseconds that the service has been running.

public String serviceDetails

Added in API level 14

Dump of debug information about the service.

Public Constructors

public ApplicationErrorReport.RunningServiceInfo ()

Added in API level 14

Create an uninitialized instance of RunningServiceInfo.

public ApplicationErrorReport.RunningServiceInfo (Parcel in)

Added in API level 14

Create an instance of RunningServiceInfo initialized from a Parcel.

Parameters
in Parcel

Public Methods

public void dump (Printer pw, String prefix)

Added in API level 14

Dump a BatteryInfo instance to a Printer.

Parameters
pw Printer
prefix String

public void writeToParcel (Parcel dest, int flags)

Added in API level 14

Save a RunningServiceInfo instance to a parcel.

Parameters
dest Parcel
flags int