android.content.pm
Class ServiceInfo

java.lang.Object
  extended by android.content.pm.PackageItemInfo
      extended by android.content.pm.ComponentInfo
          extended by android.content.pm.ServiceInfo
All Implemented Interfaces:
Parcelable

public class ServiceInfo
extends ComponentInfo
implements Parcelable


Nested Class Summary
 
Nested classes/interfaces inherited from class android.content.pm.PackageItemInfo
PackageItemInfo.DisplayNameComparator
 
Nested classes/interfaces inherited from interface android.os.Parcelable
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
 
Field Summary
static Parcelable.Creator<ServiceInfo> CREATOR
           
static int FLAG_STOP_WITH_TASK
           
 int flags
           
 String permission
           
 
Fields inherited from class android.content.pm.ComponentInfo
applicationInfo, descriptionRes, enabled, exported, processName
 
Fields inherited from class android.content.pm.PackageItemInfo
icon, labelRes, logo, metaData, name, nonLocalizedLabel, packageName
 
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
 
Constructor Summary
ServiceInfo()
           
ServiceInfo(ServiceInfo orig)
           
 
Method Summary
 int describeContents()
           
 void dump(Printer pw, String prefix)
           
 String toString()
           
 void writeToParcel(Parcel dest, int parcelableFlags)
           
 
Methods inherited from class android.content.pm.ComponentInfo
dumpBack, dumpFront, getIconResource, isEnabled, loadLabel
 
Methods inherited from class android.content.pm.PackageItemInfo
loadIcon, loadLogo, loadXmlMetaData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

permission

public String permission

FLAG_STOP_WITH_TASK

public static final int FLAG_STOP_WITH_TASK
See Also:
Constant Field Values

flags

public int flags

CREATOR

public static final Parcelable.Creator<ServiceInfo> CREATOR
Constructor Detail

ServiceInfo

public ServiceInfo()

ServiceInfo

public ServiceInfo(ServiceInfo orig)
Method Detail

dump

public void dump(Printer pw,
                 String prefix)

toString

public String toString()
Overrides:
toString in class Object

describeContents

public int describeContents()
Specified by:
describeContents in interface Parcelable

writeToParcel

public void writeToParcel(Parcel dest,
                          int parcelableFlags)
Specified by:
writeToParcel in interface Parcelable
Overrides:
writeToParcel in class ComponentInfo


Copyright © 2008-2012. All Rights Reserved.