IT. Expert System.

Android Reference

ServiceInfo


android.content.pm

Class ServiceInfo

  • All Implemented Interfaces:
    Parcelable


    public class ServiceInfo
    extends ComponentInfo
    implements Parcelable
    Information you can retrieve about a particular application service. This corresponds to information collected from the AndroidManifest.xml's <service> tags.
    • Field Detail

      • permission

        public String permission
        Optional name of a permission required to be able to access this Service. From the "permission" attribute.
      • FLAG_STOP_WITH_TASK

        public static final int FLAG_STOP_WITH_TASK
        Bit in flags: If set, the service will automatically be stopped by the system if the user removes a task that is rooted in one of the application's activities. Set from the android.R.attr#stopWithTask attribute.
        See Also:
        Constant Field Values
      • FLAG_ISOLATED_PROCESS

        public static final int FLAG_ISOLATED_PROCESS
        Bit in flags: If set, the service will run in its own isolated process. Set from the android.R.attr#isolatedProcess attribute.
        See Also:
        Constant Field Values
      • FLAG_SINGLE_USER

        public static final int FLAG_SINGLE_USER
        Bit in flags: If set, a single instance of the service will run for all users on the device. Set from the android.R.attr#singleUser attribute.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ServiceInfo

        public ServiceInfo()
    • Method Detail

      • toString

        public String toString()
        Description copied from class: Object
        Returns a string containing a concise, human-readable description of this object. Subclasses are encouraged to override this method and provide an implementation that takes into account the object's type and data. The default implementation is equivalent to the following expression:
           getClass().getName() + '@' + Integer.toHexString(hashCode())

        See Writing a useful toString method if you intend implementing your own toString method.

        Overrides:
        toString in class Object
        Returns:
        a printable representation of this object.
      • 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.


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: 2436 / . Delta: 0.24875 с