- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
53 lines
1018 B
Java
53 lines
1018 B
Java
package com.applovin.impl;
|
|
|
|
import android.text.TextUtils;
|
|
import com.applovin.mediation.MaxAdFormat;
|
|
|
|
/* loaded from: classes.dex */
|
|
public class xe {
|
|
private a a;
|
|
private String b;
|
|
|
|
public enum a {
|
|
AD_UNIT_ID,
|
|
AD_FORMAT,
|
|
AD
|
|
}
|
|
|
|
public a a() {
|
|
return this.a;
|
|
}
|
|
|
|
public String b() {
|
|
return this.b;
|
|
}
|
|
|
|
private xe(a aVar, String str) {
|
|
this.a = aVar;
|
|
this.b = str;
|
|
}
|
|
|
|
public static xe a(ge geVar) {
|
|
String S = geVar.S();
|
|
if (TextUtils.isEmpty(S)) {
|
|
return null;
|
|
}
|
|
return new xe(a.AD, S);
|
|
}
|
|
|
|
public static xe a(MaxAdFormat maxAdFormat) {
|
|
String label = maxAdFormat.getLabel();
|
|
if (TextUtils.isEmpty(label)) {
|
|
return null;
|
|
}
|
|
return new xe(a.AD_FORMAT, label);
|
|
}
|
|
|
|
public static xe a(String str) {
|
|
if (TextUtils.isEmpty(str)) {
|
|
return null;
|
|
}
|
|
return new xe(a.AD_UNIT_ID, str);
|
|
}
|
|
}
|