net9.0-android
namespace Android.App
{
[Register("android/app/Service", DoNotGenerateAcw = true)]
public abstract class Service : ContextWrapper, IComponentCallbacks, IComponentCallbacks2, IJavaObject, IJavaPeerable, IDisposable
{
[Register("startForeground", "(ILandroid/app/Notification;I)V", "", ApiSince = 29)]
[SupportedOSPlatform("android29.0")]
public void StartForeground(int id, Notification! notification, [GeneratedEnum] ForegroundService foregroundServiceType);
}
}
nuget.org | 0.0 %
Reference this API |
---|---|
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:
|