PackageManager.IsPackageSuspended Property

Definition

Apps can query this to know if they have been suspended.

public virtual bool IsPackageSuspended { [Android.Runtime.Register("isPackageSuspended", "()Z", "GetIsPackageSuspendedHandler", ApiSince=28)] get; }
[<get: Android.Runtime.Register("isPackageSuspended", "()Z", "GetIsPackageSuspendedHandler", ApiSince=28)>]
member this.IsPackageSuspended : bool

Property Value

Boolean

true if the calling package has been suspended, false otherwise.

Attributes

Remarks

Java documentation for android.content.pm.PackageManager.isPackageSuspended().

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