語言

ServiceInfo.FlagSingleUser 欄位

定義

警告

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

位元中的 #flags:若設定為,該服務的單一實例將為裝置上的所有使用者執行。

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

欄位值

Value = 1073741824

實作

屬性

備註

位元中的 #flags:若設定為,該服務的單一實例將為裝置上的所有使用者執行。 從屬性 android.R.attr#singleUser 設定。

Java 文件 android.content.pm.ServiceInfo.FLAG_SINGLE_USER。

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

適用於