Kufar v3.2.0版本的 MD5 值为:6a4d203db1c561c7e3bcd50d23fed59f
以下内容为反编译后的 AdColonyAppOptionsFactory.java 源代码,内容仅作参考
package com.yandex.mobile.ads.mediation.base;
import com.adcolony.sdk.AdColonyAppOptions;
import kotlin.Metadata;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.jvm.internal.s;
@Metadata(d1 = {"\u0000\u001a\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\u0018\u0000 \u00072\u00020\u0001:\u0001\u0007B\u0005¢\u0006\u0002\u0010\u0002J\u000e\u0010\u0003\u001a\u00020\u00042\u0006\u0010\u0005\u001a\u00020\u0006¨\u0006\b"}, d2 = {"Lcom/yandex/mobile/ads/mediation/base/AdColonyAppOptionsFactory;", "", "()V", "createAppOptions", "Lcom/adcolony/sdk/AdColonyAppOptions;", "dataParser", "Lcom/yandex/mobile/ads/mediation/base/AdColonyMediationDataParser;", "Companion", "mobileads-adcolony-mediation_release"}, k = 1, mv = {1, 7, 1}, xi = 48)
public final class AdColonyAppOptionsFactory {
@Deprecated
private static final String CONSENT_OPTED_IN = "1";
@Deprecated
private static final String CONSENT_OPTED_OUT = "0";
private static final Companion Companion = new Companion(null);
@Deprecated
private static final String MEDIATION_NAME = "Yandex";
@Deprecated
private static final String MEDIATION_VERSION = "4.8.0.3";
@Metadata(d1 = {"\u0000\u0014\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0002\b\u0004\b\u0082\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002R\u000e\u0010\u0003\u001a\u00020\u0004X\u0082T¢\u0006\u0002\n\u0000R\u000e\u0010\u0005\u001a\u00020\u0004X\u0082T¢\u0006\u0002\n\u0000R\u000e\u0010\u0006\u001a\u00020\u0004X\u0082T¢\u0006\u0002\n\u0000R\u000e\u0010\u0007\u001a\u00020\u0004X\u0082T¢\u0006\u0002\n\u0000¨\u0006\b"}, d2 = {"Lcom/yandex/mobile/ads/mediation/base/AdColonyAppOptionsFactory$Companion;", "", "()V", "CONSENT_OPTED_IN", "", "CONSENT_OPTED_OUT", "MEDIATION_NAME", "MEDIATION_VERSION", "mobileads-adcolony-mediation_release"}, k = 1, mv = {1, 7, 1}, xi = 48)
public static final class Companion {
public Companion(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
private Companion() {
}
}
public final AdColonyAppOptions createAppOptions(AdColonyMediationDataParser dataParser) {
String str;
s.j(dataParser, "dataParser");
AdColonyAppOptions adColonyAppOptions = new AdColonyAppOptions();
Boolean parseUserConsent = dataParser.parseUserConsent();
if (parseUserConsent != null) {
boolean booleanValue = parseUserConsent.booleanValue();
adColonyAppOptions.setPrivacyFrameworkRequired(AdColonyAppOptions.GDPR, true);
if (booleanValue) {
str = "1";
} else {
str = "0";
}
adColonyAppOptions.setPrivacyConsentString(AdColonyAppOptions.GDPR, str);
}
adColonyAppOptions.setMediationNetwork(MEDIATION_NAME, "4.8.0.3");
Boolean parseAgeRestrictedUser = dataParser.parseAgeRestrictedUser();
if (parseAgeRestrictedUser != null) {
parseAgeRestrictedUser.booleanValue();
adColonyAppOptions.setPrivacyFrameworkRequired(AdColonyAppOptions.COPPA, parseAgeRestrictedUser.booleanValue());
}
return adColonyAppOptions;
}
}