android.content.pm.ServiceInfo
Information you can retrieve about a particular application
service. This corresponds to information collected from the
AndroidManifest.xml's <service> tags.
Summary
Constants
Fields
public |
|
|
String |
permission |
Optional name of a permission required to be able to access this
Service. |
public |
|
|
ApplicationInfo |
applicationInfo |
Global information about the application/package this component is a
part of. |
public |
|
|
boolean |
enabled |
Indicates whether or not this component may be instantiated. |
public |
|
|
boolean |
exported |
Set to true if this component is available for use by other applications. |
public |
|
|
String |
processName |
The name of the process this component should run in. |
public |
|
|
int |
icon |
A drawable resource identifier (in the package's resources) of this
component's icon. |
public |
|
|
int |
labelRes |
A string resource identifier (in the package's resources) of this
component's label. |
public |
|
|
Bundle |
metaData |
Additional meta-data associated with this component. |
public |
|
|
String |
name |
Public name of this item. |
public |
|
|
CharSequence |
nonLocalizedLabel |
The string provided in the AndroidManifest file, if any. |
public |
|
|
String |
packageName |
Name of the package that this item is in. |
Public Constructors
Public Methods
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait
Details
Constants
Fields
public
String
permission
Optional name of a permission required to be able to access this
Service. From the "permission" attribute.
Public Constructors
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)