to top
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

? Examples
ApplicationErrorReport.RunningServiceInfo()
Create an uninitialized instance of RunningServiceInfo.

? Examples
ApplicationErrorReport.RunningServiceInfo( Parcel in)
Create an instance of RunningServiceInfo initialized from a Parcel.
Public Methods

? Examples
void dump( Printer pw, String prefix)
Dump a BatteryInfo instance to a Printer.

? Examples
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.

Public Methods

public void dump (Printer pw, String prefix)

Added in API level 14

Dump a BatteryInfo instance to a Printer.

public void writeToParcel (Parcel dest, int flags)

Added in API level 14

Save a RunningServiceInfo instance to a parcel.

No examples for this method.
Frequently called with: [Clear]
Portions of this page are reproduced from work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. The original page is available here.