Service
InterfaceConsts
StopForegroundDetach
StopForegroundLegacy
StopForegroundRemove
Service()
Service(nint, JniHandleOwnership)
Application
ForegroundServiceType
JniPeerMembers
ThresholdClass
ThresholdType
Dump(FileDescriptor, PrintWriter, String[])
OnBind(Intent)
OnConfigurationChanged(Configuration)
OnCreate()
OnDestroy()
OnLowMemory()
OnRebind(Intent)
OnStart(Intent, Int32)
OnStartCommand(Intent, StartCommandFlags, Int32)
OnTaskRemoved(Intent)
OnTimeout(Int32)
OnTimeout(Int32, ForegroundService)
OnTrimMemory(TrimMemory)
OnUnbind(Intent)
SetForeground(Boolean)
StartForeground(Int32, Notification)
StartForeground(Int32, Notification, ForegroundService)
StopForeground(Boolean)
StopForeground(StopForegroundFlags)
StopSelf()
StopSelf(Int32)
StopSelfResult(Int32)
net10.0-android36.0
namespace Android.App
{
[Register("android/app/Service", DoNotGenerateAcw = true)]
public abstract class Service : ContextWrapper, IComponentCallbacks, IComponentCallbacks2, IJavaObject, IJavaPeerable, IDisposable
{
[SupportedOSPlatform("android29.0")]
public ForegroundService ForegroundServiceType
{
[Register("getForegroundServiceType", "()I", "", ApiSince = 29)]
get;
}
}
}
| .NET | 6.07.08.09.010.0 |
|---|---|
Information specific to net10.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.035.036.0 |
Information specific to net10.0-android36.0 | |
| Assembly | Mono.Android , Version=0.0.0.0, PublicKeyToken=84e04ff9cfb79065 |
| Referencing | The API is automatically referenced. |
| Platform Restrictions | The property getter is only supported on the following platforms:
|
- Built-in API
- Package-provided API