createEventMetadata

fun createEventMetadata(kind: String? = null, impressionMinDurationMs: Long? = null, impressionMinFractionVisible: Double? = null, screenViewId: String? = null): EventMetadata

Builds an EventMetadata with caller-chosen field values, for the same reason and with the same lack of guarantees as createEnvelope. Use testEventMetadata(...) from autograph-test instead.