java.lang.Object | |||
↳ | android.content.pm.PackageItemInfo | ||
↳ | android.content.pm.ComponentInfo | ||
↳ | 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.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | FLAG_ISOLATED_PROCESS | Bit in flags : If set, the service will run in its own
isolated process. |
|||||||||
int | FLAG_STOP_WITH_TASK | Bit in flags : If set, the service will automatically be
stopped by the system if the user removes a task that is rooted
in one of the application's activities. |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
android.os.Parcelable
|
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
CREATOR | |||||||||||
flags | Options that have been set in the service declaration in the manifest. | ||||||||||
permission | Optional name of a permission required to be able to access this Service. |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
android.content.pm.ComponentInfo
| |||||||||||
From class
android.content.pm.PackageItemInfo
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Describe the kinds of special objects contained in this Parcelable's
marshalled representation.
| |||||||||||
Returns a string containing a concise, human-readable description of this
object.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
android.content.pm.ComponentInfo
| |||||||||||
From class
android.content.pm.PackageItemInfo
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
android.os.Parcelable
|
Bit in flags
: If set, the service will run in its own
isolated process. Set from the
isolatedProcess
attribute.
Bit in flags
: If set, the service will automatically be
stopped by the system if the user removes a task that is rooted
in one of the application's activities. Set from the
stopWithTask
attribute.
Options that have been set in the service declaration in the
manifest.
These include:
FLAG_STOP_WITH_TASK
, FLAG_ISOLATED_PROCESS
.
Optional name of a permission required to be able to access this Service. From the "permission" attribute.
Describe the kinds of special objects contained in this Parcelable's marshalled representation.
Returns a string containing a concise, human-readable description of this object. Subclasses are encouraged to override this method and provide an implementation that takes into account the object's type and data. The default implementation is equivalent to the following expression:
getClass().getName() + '@' + Integer.toHexString(hashCode())
See Writing a useful
toString
method
if you intend implementing your own toString
method.