ServiceInfo
InterfaceConsts
FlagAllowSharedIsolatedProcess
FlagExternalService
FlagIsolatedProcess
FlagSingleUser
FlagStopWithTask
FlagUseAppZygote
ForegroundServiceTypeCamera
ForegroundServiceTypeConnectedDevice
ForegroundServiceTypeDataSync
ForegroundServiceTypeHealth
ForegroundServiceTypeLocation
ForegroundServiceTypeManifest
ForegroundServiceTypeMediaPlayback
ForegroundServiceTypeMediaProjection
ForegroundServiceTypeMicrophone
ForegroundServiceTypeNone
ForegroundServiceTypePhoneCall
ForegroundServiceTypeRemoteMessaging
ForegroundServiceTypeShortService
ForegroundServiceTypeSpecialUse
ForegroundServiceTypeSystemExempted
ServiceInfo()
ServiceInfo(ServiceInfo)
ServiceInfo(IntPtr, JniHandleOwnership)
Creator
Flags
ForegroundServiceType
JniPeerMembers
Permission
ThresholdClass
ThresholdType
DescribeContents()
Dump(IPrinter, String)
net9.0-android34.0
namespace Android.Content.PM
{
[Register("android/content/pm/ServiceInfo", DoNotGenerateAcw = true)]
public class ServiceInfo : ComponentInfo, IParcelable, IJavaObject, IJavaPeerable, IDisposable
{
[Obsolete("This constant will be removed in the future version. Use Android.Content.PM.ForegroundService enum directly instead of this field.", true)]
[Register("FOREGROUND_SERVICE_TYPE_CONNECTED_DEVICE", ApiSince = 29)]
[SupportedOSPlatform("android29.0")]
public const ForegroundService ForegroundServiceTypeConnectedDevice = ForegroundService.TypeConnectedDevice;
}
}
.NET | 6.07.08.09.0 |
---|---|
Information specific to net9.0 | |
Platforms | This API is only available when you target a specific platform: |
Android | 21.022.023.024.025.026.027.028.029.030.031.032.033.034.0 |
Information specific to net9.0-android34.0 | |
Assembly | Mono.Android , Version=0.0.0.0, PublicKeyToken=84e04ff9cfb79065 |
Referencing | The API is automatically referenced. |
Obsolete | This constant will be removed in the future version. Use Android.Content.PM.ForegroundService enum directly instead of this field. |
Platform Restrictions | This API is only supported on the following platforms:
|
- Built-in API
- Package-provided API