PackageManager.CanRequestPackageInstalls Method
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.
Checks whether the calling package is allowed to request package installs through package installer.
[Android.Runtime.Register("canRequestPackageInstalls", "()Z", "GetCanRequestPackageInstallsHandler", ApiSince=26)]
public abstract bool CanRequestPackageInstalls ();
[<Android.Runtime.Register("canRequestPackageInstalls", "()Z", "GetCanRequestPackageInstallsHandler", ApiSince=26)>]
abstract member CanRequestPackageInstalls : unit -> bool
Returns
true if the calling package is trusted by the user to request install packages on the device, false otherwise.
- Attributes
Remarks
Java documentation for android.content.pm.PackageManager.canRequestPackageInstalls().
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.