AndroidHostPlatformTiming

This interface describes the performance data specific to Android platform's Measure, Layout, and Draw operations in the Lynx Pipeline, as shown in the following diagram:

Examples

This example shows how to generate and obtain AndroidHostPlatformTiming.

Instance Properties

hostPlatformType

hostPlatformType: string;

A string describing the Host Platform type, with default value: Android.

measureStart

measureStart: number;

The timestamp when the first execution of LynxView's onMeasure starts in a Lynx Pipeline. This timestamp is a Unix timestamp represented as a floating-point number (in milliseconds), accurate to three decimal places. For example: 1739594612307.429.

measureEnd

measureEnd: number;

The timestamp when the last execution of LynxView's onMeasure ends in a Lynx Pipeline. This timestamp is a Unix timestamp represented as a floating-point number (in milliseconds), accurate to three decimal places. For example: 1739594612307.429.

layoutStart

layoutStart: number;

The timestamp when the first execution of LynxView's onLayout starts in a Lynx Pipeline. This timestamp is a Unix timestamp represented as a floating-point number (in milliseconds), accurate to three decimal places. For example: 1739594612307.429.

layoutEnd

layoutEnd: number;

The timestamp when the last execution of LynxView's onLayout ends in a Lynx Pipeline. This timestamp is a Unix timestamp represented as a floating-point number (in milliseconds), accurate to three decimal places. For example: 1739594612307.429.

drawStart

drawStart: number;

The timestamp when the execution of LynxView's dispatchDraw starts in a Lynx Pipeline. This timestamp is a Unix timestamp represented as a floating-point number (in milliseconds), accurate to three decimal places. For example: 1739594612307.429.

drawEnd

drawEnd: number;

The timestamp when the execution of LynxView's dispatchDraw ends in a Lynx Pipeline. This timestamp is a Unix timestamp represented as a floating-point number (in milliseconds), accurate to three decimal places. For example: 1739594612307.429.

Compatibility

LCD tables only load in the browser

Except as otherwise noted, this work is licensed under a Creative Commons Attribution 4.0 International License, and code samples are licensed under the Apache License 2.0.