語言

ActivityManager.RunningServiceInfo.FlagPersistentProcess 欄位

定義

警告

This constant will be removed in the future version. Use Android.App.ServiceInfoFlags enum directly instead of this field.

#flags若服務在持久程序中執行,則 : 設定。

[Android.Runtime.Register("FLAG_PERSISTENT_PROCESS")]
[System.Obsolete("This constant will be removed in the future version. Use Android.App.ServiceInfoFlags enum directly instead of this field.", true)]
public const Android.App.ServiceInfoFlags FlagPersistentProcess = 8;
[<Android.Runtime.Register("FLAG_PERSISTENT_PROCESS")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.App.ServiceInfoFlags enum directly instead of this field.", true)>]
val mutable FlagPersistentProcess : Android.App.ServiceInfoFlags

欄位值

Value = 8

實作

屬性

備註

標記位元:設定服務是否在持久程序中執行。

Android 參考資料。android.app.ActivityManager.RunningServiceInfo.FLAG_PERSISTENT_PROCESS

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於