ArchivedPackageInfo.SetRequestLegacyExternalStorage(String) Method

Definition

If true this app would like to run under the legacy storage model.

[Android.Runtime.Register("setRequestLegacyExternalStorage", "(Ljava/lang/String;)Landroid/content/pm/ArchivedPackageInfo;", "", ApiSince=35)]
public Android.Content.PM.ArchivedPackageInfo SetRequestLegacyExternalStorage (string value);
[<Android.Runtime.Register("setRequestLegacyExternalStorage", "(Ljava/lang/String;)Landroid/content/pm/ArchivedPackageInfo;", "", ApiSince=35)>]
member this.SetRequestLegacyExternalStorage : string -> Android.Content.PM.ArchivedPackageInfo

Parameters

value
String

Returns

Attributes

Remarks

If true this app would like to run under the legacy storage model. Specified by the &lt;manifest&gt; tag's android.R.styleable#AndroidManifestApplication_requestLegacyExternalStorage attribute.

Java documentation for android.content.pm.ArchivedPackageInfo.setRequestLegacyExternalStorage(java.lang.String).

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