-
public final class EloConfigurationFull SDK configuration. Construct directly and pass to Elo.configure; for the simple Elo-only case, prefer the
Elo.configure(context, publisherId, adUnitId)convenience which builds a minimal configuration internally.The adapters list is the extension point for client-side mediation — each entry implements AdNetworkAdapter and participates in the parallel first-price auction run by
ParallelAuctionMediator.
-
-
Field Summary
Fields Modifier and Type Field Description private final EloNetworkConfigurationeloprivate final Booleancoppaprivate final Booleantfuaprivate final List<AdNetworkAdapter>adaptersprivate final LogLevellogLevelprivate final StringbaseUrlprivate final BooleanshareGeoLocationprivate final IntegergeoLocationPrecision
-
Constructor Summary
Constructors Constructor Description EloConfiguration(EloNetworkConfiguration elo, Boolean coppa, Boolean tfua, List<AdNetworkAdapter> adapters, LogLevel logLevel, String baseUrl, Boolean shareGeoLocation, Integer geoLocationPrecision)
-
Method Summary
Modifier and Type Method Description final EloNetworkConfigurationgetElo()final BooleangetCoppa()final BooleangetTfua()final List<AdNetworkAdapter>getAdapters()Client-side mediation adapters that participate in the auction. final LogLevelgetLogLevel()final StringgetBaseUrl()Optional API base URL override for sample apps, staging builds, and internal tools. final BooleangetShareGeoLocation()Enables Prebid-style passive geo sharing. final IntegergetGeoLocationPrecision()Number of decimal places used when rounding passive geo coordinates (clamped to 0–6). -
-
Constructor Detail
-
EloConfiguration
EloConfiguration(EloNetworkConfiguration elo, Boolean coppa, Boolean tfua, List<AdNetworkAdapter> adapters, LogLevel logLevel, String baseUrl, Boolean shareGeoLocation, Integer geoLocationPrecision)
-
-
Method Detail
-
getElo
final EloNetworkConfiguration getElo()
-
getAdapters
final List<AdNetworkAdapter> getAdapters()
Client-side mediation adapters that participate in the auction.
-
getLogLevel
final LogLevel getLogLevel()
-
getBaseUrl
final String getBaseUrl()
Optional API base URL override for sample apps, staging builds, and internal tools. Leave null in production integrations so the SDK uses its build-type default endpoint.
-
getShareGeoLocation
final Boolean getShareGeoLocation()
Enables Prebid-style passive geo sharing. When enabled, the SDK reads an already-authorized last-known device location (if one is available) and sends it as OpenRTB
device.geo; it never requests location permission itself. Apps must declare a platform location permission (ACCESS_COARSE_LOCATIONand/orACCESS_FINE_LOCATION) for any geo to flow — without one, coordinates are simply omitted.On by default since 0.1.8 (previously opt-in), matching iOS 0.1.6. Opt out with
shareGeoLocation = falsehere or Elo.setShareGeoLocation at runtime. Coordinates are never sent for coppa/tfua configurations regardless of this flag. Note the settings-deriveddevice.geo.country/device.geo.utcoffsetsignals are not location data and are unaffected by this flag.
-
getGeoLocationPrecision
final Integer getGeoLocationPrecision()
Number of decimal places used when rounding passive geo coordinates (clamped to 0–6). The default of
2(~1.1 km) is a privacy-conscious default. Set tonullto keep full precision.
-
-
-
-