net9.0-android
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_DATA_SYNC", ApiSince = 29)]
[RequiresPermission("android.permission.FOREGROUND_SERVICE_DATA_SYNC")]
[SupportedOSPlatform("android29.0")]
public const ForegroundService ForegroundServiceTypeDataSync = ForegroundService.TypeDataSync;
}
}
Assembly | Mono.Android , Version=0.0.0.0, PublicKeyToken=84e04ff9cfb79065 |
---|---|
Obsolete | This constant will be removed in the future version. Use Android.Content.PM.ForegroundService enum directly instead of this field. |
Help | Documentation |
.NET | 6.0-android7.0-android8.0-android9.0-android |
OS Platforms | For the selected framework this API is only supported on the following OS platforms:
|