- Added realracing3-community.apk (71.57 MB) - Removed 32-bit support (armeabi-v7a) - Only includes arm64-v8a libraries - Decompiled source code included - Added README-community.md with analysis
284 lines
7.4 KiB
Java
284 lines
7.4 KiB
Java
package com.mbridge.msdk.dycreator.wrapper;
|
|
|
|
import com.mbridge.msdk.dycreator.listener.DyCountDownListenerWrapper;
|
|
import com.mbridge.msdk.foundation.entity.CampaignEx;
|
|
import java.io.File;
|
|
import java.util.List;
|
|
|
|
/* loaded from: classes4.dex */
|
|
public class DyOption {
|
|
private List<String> a;
|
|
private File b;
|
|
private CampaignEx c;
|
|
private DyAdType d;
|
|
private String e;
|
|
private boolean f;
|
|
private boolean g;
|
|
private boolean h;
|
|
private boolean i;
|
|
private boolean j;
|
|
private boolean k;
|
|
private int l;
|
|
private int m;
|
|
private int n;
|
|
private int o;
|
|
private int p;
|
|
private int q;
|
|
private DyCountDownListenerWrapper r;
|
|
|
|
public interface IViewOptionBuilder {
|
|
IViewOptionBuilder adChoiceLink(String str);
|
|
|
|
DyOption build();
|
|
|
|
IViewOptionBuilder campaignEx(CampaignEx campaignEx);
|
|
|
|
IViewOptionBuilder canSkip(boolean z);
|
|
|
|
IViewOptionBuilder countDownTime(int i);
|
|
|
|
IViewOptionBuilder dyAdType(DyAdType dyAdType);
|
|
|
|
IViewOptionBuilder file(File file);
|
|
|
|
IViewOptionBuilder fileDirs(List<String> list);
|
|
|
|
IViewOptionBuilder isApkInfoVisible(boolean z);
|
|
|
|
IViewOptionBuilder isClickButtonVisible(boolean z);
|
|
|
|
IViewOptionBuilder isLogoVisible(boolean z);
|
|
|
|
IViewOptionBuilder isScreenClick(boolean z);
|
|
|
|
IViewOptionBuilder isShakeVisible(boolean z);
|
|
|
|
IViewOptionBuilder orientation(int i);
|
|
|
|
IViewOptionBuilder shakeStrenght(int i);
|
|
|
|
IViewOptionBuilder shakeTime(int i);
|
|
|
|
IViewOptionBuilder templateType(int i);
|
|
}
|
|
|
|
public String getAdChoiceLink() {
|
|
return this.e;
|
|
}
|
|
|
|
public CampaignEx getCampaignEx() {
|
|
return this.c;
|
|
}
|
|
|
|
public int getCountDownTime() {
|
|
return this.o;
|
|
}
|
|
|
|
public int getCurrentCountDown() {
|
|
return this.p;
|
|
}
|
|
|
|
public DyAdType getDyAdType() {
|
|
return this.d;
|
|
}
|
|
|
|
public File getFile() {
|
|
return this.b;
|
|
}
|
|
|
|
public List<String> getFileDirs() {
|
|
return this.a;
|
|
}
|
|
|
|
public int getOrientation() {
|
|
return this.n;
|
|
}
|
|
|
|
public int getShakeStrenght() {
|
|
return this.l;
|
|
}
|
|
|
|
public int getShakeTime() {
|
|
return this.m;
|
|
}
|
|
|
|
public int getTemplateType() {
|
|
return this.q;
|
|
}
|
|
|
|
public boolean isApkInfoVisible() {
|
|
return this.j;
|
|
}
|
|
|
|
public boolean isCanSkip() {
|
|
return this.g;
|
|
}
|
|
|
|
public boolean isClickButtonVisible() {
|
|
return this.h;
|
|
}
|
|
|
|
public boolean isClickScreen() {
|
|
return this.f;
|
|
}
|
|
|
|
public boolean isLogoVisible() {
|
|
return this.k;
|
|
}
|
|
|
|
public boolean isShakeVisible() {
|
|
return this.i;
|
|
}
|
|
|
|
public void setDyCountDownListenerWrapper(DyCountDownListenerWrapper dyCountDownListenerWrapper) {
|
|
this.r = dyCountDownListenerWrapper;
|
|
}
|
|
|
|
public void setDyCountDownListener(int i) {
|
|
DyCountDownListenerWrapper dyCountDownListenerWrapper = this.r;
|
|
if (dyCountDownListenerWrapper != null) {
|
|
dyCountDownListenerWrapper.getCountDownValue(i);
|
|
}
|
|
this.p = i;
|
|
}
|
|
|
|
public DyOption(Builder builder) {
|
|
this.a = builder.a;
|
|
this.b = builder.b;
|
|
this.c = builder.c;
|
|
this.d = builder.d;
|
|
this.g = builder.e;
|
|
this.e = builder.f;
|
|
this.f = builder.g;
|
|
this.h = builder.h;
|
|
this.j = builder.j;
|
|
this.i = builder.i;
|
|
this.k = builder.k;
|
|
this.l = builder.l;
|
|
this.m = builder.m;
|
|
this.n = builder.n;
|
|
this.o = builder.o;
|
|
this.q = builder.p;
|
|
}
|
|
|
|
public static class Builder implements IViewOptionBuilder {
|
|
private List<String> a;
|
|
private File b;
|
|
private CampaignEx c;
|
|
private DyAdType d;
|
|
private boolean e;
|
|
private String f;
|
|
private boolean g;
|
|
private boolean h;
|
|
private boolean i;
|
|
private boolean j;
|
|
private boolean k;
|
|
private int l;
|
|
private int m;
|
|
private int n;
|
|
private int o;
|
|
private int p;
|
|
|
|
@Override // com.mbridge.msdk.dycreator.wrapper.DyOption.IViewOptionBuilder
|
|
public IViewOptionBuilder adChoiceLink(String str) {
|
|
this.f = str;
|
|
return this;
|
|
}
|
|
|
|
@Override // com.mbridge.msdk.dycreator.wrapper.DyOption.IViewOptionBuilder
|
|
public IViewOptionBuilder campaignEx(CampaignEx campaignEx) {
|
|
this.c = campaignEx;
|
|
return this;
|
|
}
|
|
|
|
@Override // com.mbridge.msdk.dycreator.wrapper.DyOption.IViewOptionBuilder
|
|
public IViewOptionBuilder canSkip(boolean z) {
|
|
this.e = z;
|
|
return this;
|
|
}
|
|
|
|
@Override // com.mbridge.msdk.dycreator.wrapper.DyOption.IViewOptionBuilder
|
|
public IViewOptionBuilder countDownTime(int i) {
|
|
this.o = i;
|
|
return this;
|
|
}
|
|
|
|
@Override // com.mbridge.msdk.dycreator.wrapper.DyOption.IViewOptionBuilder
|
|
public IViewOptionBuilder dyAdType(DyAdType dyAdType) {
|
|
this.d = dyAdType;
|
|
return this;
|
|
}
|
|
|
|
@Override // com.mbridge.msdk.dycreator.wrapper.DyOption.IViewOptionBuilder
|
|
public IViewOptionBuilder file(File file) {
|
|
this.b = file;
|
|
return this;
|
|
}
|
|
|
|
@Override // com.mbridge.msdk.dycreator.wrapper.DyOption.IViewOptionBuilder
|
|
public IViewOptionBuilder fileDirs(List<String> list) {
|
|
this.a = list;
|
|
return this;
|
|
}
|
|
|
|
@Override // com.mbridge.msdk.dycreator.wrapper.DyOption.IViewOptionBuilder
|
|
public IViewOptionBuilder isApkInfoVisible(boolean z) {
|
|
this.j = z;
|
|
return this;
|
|
}
|
|
|
|
@Override // com.mbridge.msdk.dycreator.wrapper.DyOption.IViewOptionBuilder
|
|
public IViewOptionBuilder isClickButtonVisible(boolean z) {
|
|
this.h = z;
|
|
return this;
|
|
}
|
|
|
|
@Override // com.mbridge.msdk.dycreator.wrapper.DyOption.IViewOptionBuilder
|
|
public IViewOptionBuilder isLogoVisible(boolean z) {
|
|
this.k = z;
|
|
return this;
|
|
}
|
|
|
|
@Override // com.mbridge.msdk.dycreator.wrapper.DyOption.IViewOptionBuilder
|
|
public IViewOptionBuilder isScreenClick(boolean z) {
|
|
this.g = z;
|
|
return this;
|
|
}
|
|
|
|
@Override // com.mbridge.msdk.dycreator.wrapper.DyOption.IViewOptionBuilder
|
|
public IViewOptionBuilder isShakeVisible(boolean z) {
|
|
this.i = z;
|
|
return this;
|
|
}
|
|
|
|
@Override // com.mbridge.msdk.dycreator.wrapper.DyOption.IViewOptionBuilder
|
|
public IViewOptionBuilder orientation(int i) {
|
|
this.n = i;
|
|
return this;
|
|
}
|
|
|
|
@Override // com.mbridge.msdk.dycreator.wrapper.DyOption.IViewOptionBuilder
|
|
public IViewOptionBuilder shakeStrenght(int i) {
|
|
this.l = i;
|
|
return this;
|
|
}
|
|
|
|
@Override // com.mbridge.msdk.dycreator.wrapper.DyOption.IViewOptionBuilder
|
|
public IViewOptionBuilder shakeTime(int i) {
|
|
this.m = i;
|
|
return this;
|
|
}
|
|
|
|
@Override // com.mbridge.msdk.dycreator.wrapper.DyOption.IViewOptionBuilder
|
|
public IViewOptionBuilder templateType(int i) {
|
|
this.p = i;
|
|
return this;
|
|
}
|
|
|
|
@Override // com.mbridge.msdk.dycreator.wrapper.DyOption.IViewOptionBuilder
|
|
public DyOption build() {
|
|
return new DyOption(this);
|
|
}
|
|
}
|
|
}
|