Share via


ActivityManager.AppNotResponding(String) Method

Definition

Method for the app to tell system that it's wedged and would like to trigger an ANR.

[Android.Runtime.Register("appNotResponding", "(Ljava/lang/String;)V", "GetAppNotResponding_Ljava_lang_String_Handler", ApiSince=30)]
public virtual void AppNotResponding (string reason);
[<Android.Runtime.Register("appNotResponding", "(Ljava/lang/String;)V", "GetAppNotResponding_Ljava_lang_String_Handler", ApiSince=30)>]
abstract member AppNotResponding : string -> unit
override this.AppNotResponding : string -> unit

Parameters

reason
String

The description of that what happened

Attributes

Remarks

Method for the app to tell system that it's wedged and would like to trigger an ANR.

Java documentation for android.app.ActivityManager.appNotResponding(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