次の方法で共有


ArchivedPackageInfo.SetDefaultToDeviceProtectedStorage(String) Method

Definition

Package data will default to device protected storage.

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

Parameters

value
String

Returns

Attributes

Remarks

Package data will default to device protected storage. Specified by the &lt;manifest&gt; tag's android.R.styleable#AndroidManifestApplication_defaultToDeviceProtectedStorage attribute.

Java documentation for android.content.pm.ArchivedPackageInfo.setDefaultToDeviceProtectedStorage(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