UserManager.DisallowInstallUnknownSourcesIncludingRegisteredAppStores Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
User restriction to disallow installing apps from unknown sources, including registered app stores.
[Android.Runtime.Register("DISALLOW_INSTALL_UNKNOWN_SOURCES_INCLUDING_REGISTERED_APP_STORES", ApiSince=37)]
public const string DisallowInstallUnknownSourcesIncludingRegisteredAppStores;
[<Android.Runtime.Register("DISALLOW_INSTALL_UNKNOWN_SOURCES_INCLUDING_REGISTERED_APP_STORES", ApiSince=37)>]
val mutable DisallowInstallUnknownSourcesIncludingRegisteredAppStores : string
Field Value
- Attributes
Remarks
User restriction to disallow installing apps from unknown sources, including registered app stores.
When this restriction is set, the user cannot install apps from any source other than privileged installers that are explicitly allowed as trusted sources. This supersedes DISALLOW_INSTALL_UNKNOWN_SOURCES by also blocking installations initiated by or from registered app stores (holders of Manifest.permission.INSTALL_PACKAGES_AS_REGISTERED_APP_STORE), and installations of registered app stores themselves.
Key for user restrictions.
Type: Boolean
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.