Added in API level 14

RunningServiceInfo


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

Describes a running service report.

Summary

Public constructors

Create an uninitialized instance of RunningServiceInfo.

Create an instance of RunningServiceInfo initialized from a Parcel.

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

Dump a BatteryInfo instance to a Printer.

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

Save a RunningServiceInfo instance to a parcel.

Properties
Long

Duration in milliseconds that the service has been running.

String!

Dump of debug information about the service.

Public constructors

RunningServiceInfo

Added in API level 14
RunningServiceInfo()

Create an uninitialized instance of RunningServiceInfo.

RunningServiceInfo

Added in API level 14
RunningServiceInfo(in: Parcel!)

Create an instance of RunningServiceInfo initialized from a Parcel.

Public methods

dump

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

Dump a BatteryInfo instance to a Printer.

writeToParcel

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

Save a RunningServiceInfo instance to a parcel.

Properties

durationMillis

Added in API level 14
var durationMillis: Long

Duration in milliseconds that the service has been running.

serviceDetails

Added in API level 14
var serviceDetails: String!

Dump of debug information about the service.