PackageInstaller.SessionParams.SetInstallLocation メソッド

定義

の値を PackageInfo#installLocation指定します。これは、アプリをステージングする場所を決定するために使用できます。

[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

パラメーター

installLocation
PackageInstallLocation
属性

注釈

の値を PackageInfo#installLocation指定します。これは、アプリをステージングする場所を決定するために使用できます。 既定値は PackageInfo#INSTALL_LOCATION_INTERNAL_ONLY です。

android.content.pm.PackageInstaller.SessionParams.setInstallLocation(int)Java ドキュメント。

このページの一部は、によって作成および共有された作業に基づく変更であり、に記載されている条件に従って使用されます。

適用対象