Class TelemetryUtilsKt
-
- All Implemented Interfaces:
public final class TelemetryUtilsKt
-
-
Method Summary
Modifier and Type Method Description final static Map<String, Object>getTelemetryExtras(AdContext $self)Returns a mutable map of telemetry extras for an AdContext. final static Map<String, Object>getTelemetryExtras(AdManagerContext $self)Returns a mutable map of telemetry extras for an AdManagerContext. -
-
Method Detail
-
getTelemetryExtras
final static Map<String, Object> getTelemetryExtras(AdContext $self)
Returns a mutable map of telemetry extras for an AdContext.
This function gathers various ad-specific details, such as placement ID, placement type, ad type, markup type, creative ID, impression ID, and rewarded status, and returns them as a map suitable for telemetry events.
- Returns:
A mutable map containing telemetry extras for the ad context.
-
getTelemetryExtras
final static Map<String, Object> getTelemetryExtras(AdManagerContext $self)
Returns a mutable map of telemetry extras for an AdManagerContext.
This function gathers general ad management details, such as placement ID, placement type, and ad type, and returns them as a map suitable for telemetry events.
- Returns:
A mutable map containing telemetry extras for the ad manager context.
-
-
-
-