AttributeEntry



TraceEvents can contain trace attributes that apply to the entire trace. This is how that metadata is sent to the AbstractTraceSink. These objects are pooled, and we expose bare-fields because this is performance sensitive code.

End users of tracing will never use this class directly. They will only interact with it using TraceEventScope.

An androidx.tracing.AttributeEntry should only have one of longValue, or stringValue non-null when set. There can never be more than one value set.

Summary

Public functions

open operator Boolean
equals(other: Any?)
Cmn
open Int
Cmn
Unit
Cmn
open String
Cmn

Public properties

Long?
Cmn
String?
Cmn
String?
Cmn

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

reset

fun reset(): Unit

toString

open fun toString(): String

Public properties

longValue

var longValueLong?

name

var nameString?

stringValue

var stringValueString?