ProfilingTriggerType 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.
Defines profiling trigger type values used by the Android OS API.
public enum ProfilingTriggerType
type ProfilingTriggerType =
- Inheritance
-
ProfilingTriggerType
Fields
| Name | Value | Description |
|---|---|---|
| None | 0 | No trigger. Used in ProfilingResult for non trigger caused results. |
| AppFullyDrawn | 1 | Trigger occurs after Activity.reportFullyDrawn() is called for a cold start. System will provide a snapshot of a running system trace in response to this trigger. |
| Anr | 2 | Trigger occurs after an ANR has been identified, but before the system would attempt to kill the app. The trigger does not necessarily indicate that the app was killed due to the ANR. System will provide a snapshot of a running system trace in response to this trigger. |
Remarks
Encapsulates a single profiling trigger.
Java documentation for android.os.ProfilingTrigger.
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.