post Metrics Data
fun postMetricsData(data: Set<Metrics>, loadId: String? = null, backgroundDurationMs: Long? = null, eventResult: EventResult? = null)
Post metrics data payload to the server on an ad lifecycle event basis.
Parameters
data
The metrics data payload for a specific ad lifecycle event.
load Id
The load ID for the ad lifecycle event.
background Duration Ms
The amount of time, in milliseconds, that a load was being performed while the app was in the background.
event Result
The result of the ad lifecycle event.