net9.0-android
namespace Android.App
{
    [Register("android/app/Service", DoNotGenerateAcw = true)]
    public abstract class Service : ContextWrapper, IComponentCallbacks, IComponentCallbacks2, IJavaObject, IJavaPeerable, IDisposable
    {
        [ObsoletedOSPlatform("android33.0", "This constant will be removed in the future version. Use Android.App.StopForegroundFlags enum directly instead of this field.")]
        [Register("STOP_FOREGROUND_LEGACY", ApiSince = 33)]
        [SupportedOSPlatform("android33.0")]
        public const StopForegroundFlags StopForegroundLegacy = StopForegroundFlags.Legacy;
    }
}
Assembly Mono.Android , Version=0.0.0.0, PublicKeyToken=84e04ff9cfb79065
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:

  • Android >= 33
  • Built-in API
  • Package-provided API

04/26/2024
An error has occurred. This application may no longer respond until reloaded. Reload 🗙