English | Site Directory

Android - An Open Handset Alliance Project

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  CREATOR       

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

        String  toString()
Answers a string containing a concise, human-readable description of the receiver.
        void  writeToParcel(Parcel dest)
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 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 String toString()

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

public void writeToParcel(Parcel dest)

Build m5-rc15g - 14 May 2008 12:50