FileDocCategorySizeDatePackage
ServiceInfo.javaAPI DocAndroid 1.5 API1478Wed May 06 22:41:54 BST 2009android.content.pm

ServiceInfo

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

Fields Summary
public String
permission
Optional name of a permission required to be able to access this Service. From the "permission" attribute.
public static final Creator
CREATOR
Constructors Summary
public ServiceInfo()

    
public ServiceInfo(ServiceInfo orig)

        super(orig);
        permission = orig.permission;
    
private ServiceInfo(android.os.Parcel source)


       
        super(source);
        permission = source.readString();
    
Methods Summary
public intdescribeContents()

        return 0;
    
public java.lang.StringtoString()

        return "ServiceInfo{"
            + Integer.toHexString(System.identityHashCode(this))
            + " " + name + "}";
    
public voidwriteToParcel(android.os.Parcel dest, int parcelableFlags)

        super.writeToParcel(dest, parcelableFlags);
        dest.writeString(permission);