AnrType Enum
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.
public enum AnrType
type AnrType =
- Inheritance
-
AnrType
Fields
| Name | Value | Description |
|---|---|---|
| Other | 0 | The ANR type is not one of the other defined types. This is used as a default when the specific cause of the ANR is not known or does not fit into a more specific category Android reference for 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. |
| InputDispatchNoFocusedWindow | 1 | The app took too long to respond to an input event because no window was focused. Android reference for 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. |
| InputDispatch | 2 | The app took too long to respond to an input event. Android reference for 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. |
| BroadcastOfIntent | 3 | The app's broadcast receiver took too long to process the message. Android reference for 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. |
| StartForegroundService | 4 | The foreground service took too long to start. Android reference for 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. |
| ExecuteService | 5 | The app's service took too long to finish Service.onCreate and Service.onStartCommand / Service.onBind Android reference for 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. |
| ContentProviderNotResponding | 6 | The app's content provider took too long to respond. Android reference for 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. |
| AppTriggered | 7 | The app itself due to its own internal logic or behavior has triggered an ANR. Android reference for 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. |
| ForegroundShortServiceTimeout | 8 | A foreground short service took too long to respond to Service.onTimeout. Android reference for 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. |
| JobServiceStart | 9 | The job service took too long to start. Android reference for 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. |
| ApplicationStart | 10 | The app took too long to start up. Android reference for 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. |