Class of android.content.pm · ServiceInfo.java · Android's reference
public class ServiceInfo extends ComponentInfo implements android.os.Parcelable
ServiceInfo ← ComponentInfo ← PackageItemInfo
A service of a package.
public static final int FOREGROUND_SERVICE_TYPE_NONE = 0 sourcepublic static final int FOREGROUND_SERVICE_TYPE_DATA_SYNC = 1 sourcepublic static final int FOREGROUND_SERVICE_TYPE_MANIFEST = -1 sourcepublic static final int FOREGROUND_SERVICE_TYPE_SHORT_SERVICE = 2048 sourcepublic String permission sourcepublic int flags sourcepublic int foregroundServiceType sourcepublic ServiceInfo() empty body sourcepublic ServiceInfo(ServiceInfo o) sourcepublic int getForegroundServiceType() sourcepublic int describeContents() sourcepublic void writeToParcel(android.os.Parcel dest, int f) sourceMade from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.