RunningServiceInfo

open class RunningServiceInfo
kotlin.Any
   ↳ android.app.ApplicationErrorReport.RunningServiceInfo

Describes a running service report.
Requires API level 14 (Android 4.0, IceCreamSandwich)

Summary

Public constructors

Create an uninitialized instance of RunningServiceInfo.

<init>(in: Parcel!)

Create an instance of RunningServiceInfo initialized from a Parcel.

Public methods
open Unit
writeToParcel(dest: Parcel!, flags: Int)

Save a RunningServiceInfo instance to a parcel.

open Unit
dump(pw: Printer!, prefix: String!)

Dump a BatteryInfo instance to a Printer.

Properties
Long

Duration in milliseconds that the service has been running.

String!

Dump of debug information about the service.

Public constructors

<init>

RunningServiceInfo()

Create an uninitialized instance of RunningServiceInfo.

<init>

RunningServiceInfo(in: Parcel!)

Create an instance of RunningServiceInfo initialized from a Parcel.

Public methods

writeToParcel

added in API level 14
open fun writeToParcel(dest: Parcel!, flags: Int): Unit

Save a RunningServiceInfo instance to a parcel.
Requires API level 14 (Android 4.0, IceCreamSandwich)

dump

added in API level 14
open fun dump(pw: Printer!, prefix: String!): Unit

Dump a BatteryInfo instance to a Printer.
Requires API level 14 (Android 4.0, IceCreamSandwich)

Properties

durationMillis

added in API level 14
var durationMillis: Long

Duration in milliseconds that the service has been running.
Requires API level 14 (Android 4.0, IceCreamSandwich)

serviceDetails

added in API level 14
var serviceDetails: String!

Dump of debug information about the service.
Requires API level 14 (Android 4.0, IceCreamSandwich)