Aracılığıyla paylaş


Settings.Secure.InstallNonMarketApps Field

Definition

Whether applications can be installed for this user via the system's Intent#ACTION_INSTALL_PACKAGE mechanism.

[Android.Runtime.Register("INSTALL_NON_MARKET_APPS")]
public const string InstallNonMarketApps;
[<Android.Runtime.Register("INSTALL_NON_MARKET_APPS")>]
val mutable InstallNonMarketApps : string

Field Value

Attributes

Remarks

Whether applications can be installed for this user via the system's Intent#ACTION_INSTALL_PACKAGE mechanism.

1 = permit app installation via the system package installer intent

0 = do not allow use of the package installer

This member is deprecated. Starting from android.os.Build.VERSION_CODES#O, apps should use PackageManager#canRequestPackageInstalls()

Java documentation for android.provider.Settings.Secure.INSTALL_NON_MARKET_APPS.

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.

Applies to