Skip to content

RumPerformanceMetric

Xavier F. Gouchet edited this page Sep 4, 2024 · 1 revision

enum RumPerformanceMetric : Enum<RumPerformanceMetric>

A cross-platform technical performance metric.

See also

RumMonitor

Entries

FLUTTER_BUILD_TIME

FLUTTER_BUILD_TIME

The amount of time Flutter spent in its build method for this view.

Properties

Name Summary
name [androidJvm]
val name: String
ordinal [androidJvm]
val ordinal: Int

FLUTTER_RASTER_TIME

FLUTTER_RASTER_TIME

The amount of time Flutter spent rasterizing the view.

Properties

Name Summary
name [androidJvm]
val name: String
ordinal [androidJvm]
val ordinal: Int

JS_FRAME_TIME

JS_FRAME_TIME

The JavaScript frame time of a React Native view in nanoseconds.

Properties

Name Summary
name [androidJvm]
val name: String
ordinal [androidJvm]
val ordinal: Int

Functions

valueOf

fun valueOf(value: String): RumPerformanceMetric

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Throws
IllegalArgumentException if this enum type has no constant with the specified name

values

fun values(): Array<RumPerformanceMetric>

Returns an array containing the constants of this enum type, in the order they're declared.

This method may be used to iterate over the constants.

Clone this wiki locally