ServiceInfo.ForegroundServiceTypeNone Field

Definition

Caution

This constant will be removed in the future version. Use Android.Content.PM.ForegroundService enum directly instead of this field.

The default foreground service type if not been set in manifest file.

[Android.Runtime.Register("FOREGROUND_SERVICE_TYPE_NONE", ApiSince=29)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Content.PM.ForegroundService enum directly instead of this field.", true)]
public const Android.Content.PM.ForegroundService ForegroundServiceTypeNone = 0;
[<Android.Runtime.Register("FOREGROUND_SERVICE_TYPE_NONE", ApiSince=29)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Content.PM.ForegroundService enum directly instead of this field.", true)>]
val mutable ForegroundServiceTypeNone : Android.Content.PM.ForegroundService

Field Value

ForegroundService

Implements

Attributes

Remarks

Java documentation for android.content.pm.ServiceInfo.FOREGROUND_SERVICE_TYPE_NONE.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to