-
public class AdResultThe outcome of an ad request.
Exhaustive
whenover this to handle every case — or pass it directly to a ad.elo.androidsdk.EloAdView which hides itself on non-loaded results.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classAdResult.LoadedThe server returned an ad.
eCpm is the price the server quoted for it, in USD-equivalent CPM (
AdResponse.ecpm). Consumers comparing Elo against another network in their own code can weigh this number against the other network's bid and choose whether to render the Elo result. Always>= 0.0.public final classAdResult.NoFillNo ad was available. Not an error; just no match for this request. The reason explains why so the host can show the right empty-state UI or diagnose integration problems.
public final classAdResult.ErrorSomething went wrong (network failure, decoding, etc).
-