Поделиться через


ProviderInfo.FlagSingleUser Поле

Определение

Внимание!

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

Значение поля

Value = 1073741824

Реализации

Атрибуты

Комментарии

Бит в #flags: если задано, один экземпляр поставщика будет запускаться для всех пользователей на устройстве. Задайте из атрибута android.R.attr#singleUser .

Документация по Java для android.content.pm.ProviderInfo.FLAG_SINGLE_USER.

Части этой страницы — это изменения на основе работы, созданной и общей проектом с открытым исходным кодом Android и используемой в соответствии с условиями, описанными в лицензии Creative Commons 2.5 Attribution.

Применяется к