PackageManager.InvokeIsPackageSuspended(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Query if an app is currently suspended.
[Android.Runtime.Register("isPackageSuspended", "(Ljava/lang/String;)Z", "GetInvokeIsPackageSuspended_Ljava_lang_String_Handler", ApiSince=29)]
public virtual bool InvokeIsPackageSuspended (string packageName);
[<Android.Runtime.Register("isPackageSuspended", "(Ljava/lang/String;)Z", "GetInvokeIsPackageSuspended_Ljava_lang_String_Handler", ApiSince=29)>]
abstract member InvokeIsPackageSuspended : string -> bool
override this.InvokeIsPackageSuspended : string -> bool
Parameters
- packageName
- String
Returns
true
if the given package is suspended, false
otherwise
- Attributes
Remarks
Query if an app is currently suspended.
Java documentation for android.content.pm.PackageManager.isPackageSuspended(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.