IT. Expert System.

Android Reference

ActivityManager.RunningServiceInfo


android.app

Class ActivityManager.RunningServiceInfo

  • All Implemented Interfaces:
    Parcelable
    Enclosing class:
    ActivityManager


    public static class ActivityManager.RunningServiceInfo
    extends Object
    implements Parcelable
    Information you can retrieve about a particular Service that is currently running in the system.
    • Field Detail

      • pid

        public int pid
        If non-zero, this is the process the service is running in.
      • uid

        public int uid
        The UID that owns this service.
      • process

        public String process
        The name of the process this service runs in.
      • foreground

        public boolean foreground
        Set to true if the service has asked to run as a foreground process.
      • activeSince

        public long activeSince
        The time when the service was first made active, either by someone starting or binding to it. This is in units of SystemClock.elapsedRealtime().
      • started

        public boolean started
        Set to true if this service has been explicitly started.
      • clientCount

        public int clientCount
        Number of clients connected to the service.
      • crashCount

        public int crashCount
        Number of times the service's process has crashed while the service is running.
      • lastActivityTime

        public long lastActivityTime
        The time when there was last activity in the service (either explicit requests to start it or clients binding to it). This is in units of SystemClock.uptimeMillis().
      • restarting

        public long restarting
        If non-zero, this service is not currently running, but scheduled to restart at the given time.
      • FLAG_STARTED

        public static final int FLAG_STARTED
        Bit for flags: set if this service has been explicitly started.
        See Also:
        Constant Field Values
      • FLAG_FOREGROUND

        public static final int FLAG_FOREGROUND
        Bit for flags: set if the service has asked to run as a foreground process.
        See Also:
        Constant Field Values
      • FLAG_SYSTEM_PROCESS

        public static final int FLAG_SYSTEM_PROCESS
        Bit for {@link #flags): set if the service is running in a core system process.
        See Also:
        Constant Field Values
      • FLAG_PERSISTENT_PROCESS

        public static final int FLAG_PERSISTENT_PROCESS
        Bit for {@link #flags): set if the service is running in a persistent process.
        See Also:
        Constant Field Values
      • flags

        public int flags
        Running flags.
      • clientPackage

        public String clientPackage
        For special services that are bound to by system code, this is the package that holds the binding.
      • clientLabel

        public int clientLabel
        For special services that are bound to by system code, this is a string resource providing a user-visible label for who the client is.
    • Constructor Detail

      • ActivityManager.RunningServiceInfo

        public ActivityManager.RunningServiceInfo()
    • Method Detail

      • describeContents

        public int describeContents()
        Description copied from interface: Parcelable
        Describe the kinds of special objects contained in this Parcelable's marshalled representation.
        Specified by:
        describeContents in interface Parcelable
        Returns:
        a bitmask indicating the set of special object types marshalled by the Parcelable.
      • readFromParcel

        public void readFromParcel(Parcel source)


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 2471 / 96488270. Delta: 0.08987 с