Package 

Class EloDiagnosticsEntry


  • 
    public final class EloDiagnosticsEntry
    
                        

    One recorded load/preload operation, newest first in EloDiagnosticsSnapshot.entries. Cache-hit loads are recorded too — they carry the served outcome but no captured payload, because no network request was constructed.

    Mirrors iOS DiagnosticsEntry.

    • Method Detail

      • getLatencyMs

         final Long getLatencyMs()

        Wall-clock operation latency in milliseconds.

      • getRequestPayloadJson

         final String getRequestPayloadJson()

        Redacted copy of the Elo network request this operation constructed, pretty-printed JSON. Message content and context descriptions are dropped (counts and roles/types remain); identity, consent, and the full device block (including device.geo) are retained.

        Off by default: only populated when the host app opted in via ad.elo.androidsdk.Elo.setRequestPayloadCaptureEnabled, since it carries the advertising id, geolocation, and consent strings. Also null when the operation never built an Elo request (cache hit, session disabled, adapter-only failure).

      • getServerRequestId

         final String getServerRequestId()

        The server ad-opportunity id (ad response request_id) for this operation. E2E flows read it to correlate this exact request to its downstream impression/click events server-side. Null for cached, no-fill, and not-configured outcomes (no fresh Elo server response). Mirrors iOS DiagnosticsEntry.serverRequestId.