ServiceInfo.ForegroundServiceType Property

Definition

Return foreground service type specified in the manifest.

public virtual Android.Content.PM.ForegroundService ForegroundServiceType { [Android.Runtime.Register("getForegroundServiceType", "()I", "GetGetForegroundServiceTypeHandler", ApiSince=29)] get; }
[<get: Android.Runtime.Register("getForegroundServiceType", "()I", "GetGetForegroundServiceTypeHandler", ApiSince=29)>]
member this.ForegroundServiceType : Android.Content.PM.ForegroundService

Property Value

ForegroundService

foreground service type specified in the manifest.

Attributes

Remarks

Java documentation for android.content.pm.ServiceInfo.getForegroundServiceType().

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