Språk

PackageManager.IsAppArchivable(String) Method

Definition

Returns true if an app is archivable.

[Android.Runtime.Register("isAppArchivable", "(Ljava/lang/String;)Z", "GetIsAppArchivable_Ljava_lang_String_Handler", ApiSince=35)]
public virtual bool IsAppArchivable(string packageName);
[<Android.Runtime.Register("isAppArchivable", "(Ljava/lang/String;)Z", "GetIsAppArchivable_Ljava_lang_String_Handler", ApiSince=35)>]
abstract member IsAppArchivable : string -> bool
override this.IsAppArchivable : string -> bool

Parameters

packageName
String

The package whose archiving eligibility is queried.

Returns

true if the package service reports the app as eligible for archiving; otherwise, false.

Attributes

Remarks

Returns true if an app is archivable.

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