PackageInstaller.SessionParams.SetInstallLocation 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.
Provide value of PackageInfo#installLocation
, which may be used
to determine where the app will be staged.
[Android.Runtime.Register("setInstallLocation", "(I)V", "GetSetInstallLocation_IHandler")]
public virtual void SetInstallLocation (Android.Content.PM.PackageInstallLocation installLocation);
[<Android.Runtime.Register("setInstallLocation", "(I)V", "GetSetInstallLocation_IHandler")>]
abstract member SetInstallLocation : Android.Content.PM.PackageInstallLocation -> unit
override this.SetInstallLocation : Android.Content.PM.PackageInstallLocation -> unit
Parameters
- installLocation
- PackageInstallLocation
- Attributes
Remarks
Provide value of PackageInfo#installLocation
, which may be used to determine where the app will be staged. Defaults to PackageInfo#INSTALL_LOCATION_INTERNAL_ONLY
.
Java documentation for android.content.pm.PackageInstaller.SessionParams.setInstallLocation(int)
.
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.