ServiceInfo.FlagSingleUser Поле
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Внимание!
This constant will be removed in the future version. Use Android.Content.PM.ServiceInfoFlags enum directly instead of this field.
Bit in #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Реализации
- Атрибуты
Комментарии
Bit in #flags
: если задано, один экземпляр службы будет запускаться для всех пользователей на устройстве. Задайте из атрибута android.R.attr#singleUser
.
Документация по Java для android.content.pm.ServiceInfo.FLAG_SINGLE_USER
.
Части этой страницы — это изменения на основе работы, созданной и общей проектом с открытым исходным кодом Android и используемой в соответствии с условиями, описанными в лицензии Creative Commons 2.5 Attribution.