ServiceInfo.ForegroundServiceType 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
傳回資訊清單中指定的前景服務類型。
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
屬性值
資訊清單中指定的前景服務類型。
- 屬性
備註
傳回 manifest 中指定的前景服務類型。
的 android.content.pm.ServiceInfo.getForegroundServiceType()
JAVA 檔。
此頁面的部分是根據 原始碼專案所建立和共用的工作進行修改,並根據中所述的詞彙使用。