API reference
API reference
Select your platform
No SDKs available
No versions available

EntityCreationDebugInfo Class

Modifiers: final
Holds debug information captured at entity creation time.

Signature

data class EntityCreationDebugInfo(val callstack: String?, val creationTimeMs: Long)

Constructors

EntityCreationDebugInfo ( callstack , creationTimeMs )
Signature
constructor(callstack: String?, creationTimeMs: Long)
Parameters
callstack: String?
  The formatted callstack at creation time, or null if capture was disabled.
creationTimeMs: Long
  The creation timestamp in milliseconds (from SystemClock.elapsedRealtime).

Properties

callstack : String?
[Get]
The formatted callstack at creation time, or null if capture was disabled.
Signature
val callstack: String?
creationTimeMs : Long
[Get]
The creation timestamp in milliseconds (from SystemClock.elapsedRealtime).
Signature
val creationTimeMs: Long

Functions

formatTimeAlive ()
Formats the time alive as a human-readable string.
Signature
fun formatTimeAlive(): String
Returns
String
  A formatted string like "1.234s" or "45.678s".
getTimeAliveMs ()
Returns the time in milliseconds since this entity was created.
Signature
fun getTimeAliveMs(): Long
Returns
Long
  The time alive in milliseconds.
Did you find this page helpful?