Android
android.content.pm
public class

android.content.pm.ServiceInfo

java.lang.Object
android.content.pm.PackageItemInfo
android.content.pm.ComponentInfo
android.content.pm.ServiceInfo Parcelable

Information you can retrieve about a particular application service. This corresponds to information collected from the AndroidManifest.xml's <service> tags.

Summary

Constants

      Value  
Creator<ServiceInfo CREATOR       
Constants inherited from interface android.os.Parcelable

Fields

public      String  permission  Optional name of a permission required to be able to access this Service. 
Fields inherited from class android.content.pm.ComponentInfo
Fields inherited from class android.content.pm.PackageItemInfo

Public Constructors

            ServiceInfo()
            ServiceInfo(ServiceInfo orig)

Public Methods

          int  describeContents()
Describe the kinds of special objects contained in this Parcelable's marshalled representation.
          String  toString()
Returns a string containing a concise, human-readable description of the receiver.
          void  writeToParcel(Parcel dest, int parcelableFlags)
Methods inherited from class android.content.pm.ComponentInfo
Methods inherited from class android.content.pm.PackageItemInfo
Methods inherited from class java.lang.Object
Methods inherited from interface android.os.Parcelable

Details

Constants

public static final Creator<ServiceInfo> CREATOR

Fields

public String permission

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

Public Constructors

public ServiceInfo()

public ServiceInfo(ServiceInfo orig)

Public Methods

public int describeContents()

Describe the kinds of special objects contained in this Parcelable's marshalled representation.

public String toString()

Returns a string containing a concise, human-readable description of the receiver.

Returns

  • String a printable representation for the receiver.

public void writeToParcel(Parcel dest, int parcelableFlags)

Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:56