testEventMetadata
fun testEventMetadata(kind: String? = null, impressionMinDurationMs: Long? = null, impressionMinFractionVisible: Double? = null, screenViewId: String? = null): EventMetadata
Builds an EventMetadata with exactly the field values you ask for — to pass to testEnvelope, or to call a MetadataAwareTransport directly in a test of your own transport. Like testEnvelope, it may gain parameters as the metadata grows.