Reference:Android.content.pm.ServiceInfo

From Triled Wiki

Jump to: navigation, search


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.

Contents

[edit] Summary

[edit] Constants

      Value  
Creator   CREATOR        

[edit] Fields

public      String   permission   Optional name of a permission required to be able to access this Service.  

[edit] Fields inherited from class android.content.pm.ComponentInfo
applicationInfo, enabled, processName
[edit] Fields inherited from class android.content.pm.PackageItemInfo

icon, labelRes, metaData, name, nonLocalizedLabel, packageName

[edit] Public Constructors

          ServiceInfo ()
          ServiceInfo (ServiceInfo orig)

[edit] Public Methods

        String   toString ()
Answers a string containing a concise, human-readable description of the receiver.
        void  writeToParcel (Parcel dest)

[edit] Methods inherited from class android.content.pm.ComponentInfo
dumpBack, dumpFront, getIconResource, loadIcon, loadLabel, writeToParcel
[edit] Methods inherited from class android.content.pm.PackageItemInfo
dumpFront, loadIcon, loadLabel, loadXmlMetaData, writeToParcel
[edit] Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
[edit] Methods inherited from interface android.os.Parcelable

writeToParcel

[edit] Details

[edit] Constants

[edit] public static final Creator CREATOR

[edit] Fields

[edit] public String permission

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

[edit] Public Constructors

[edit] public ServiceInfo()

[edit] public ServiceInfo(ServiceInfo orig)

[edit] Public Methods

[edit] public String toString()

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

[edit] public void writeToParcel(Parcel dest)

[edit] References

Personal tools