MyRecorder v1.01.90.0219版本的 MD5 值为:c361f51174a0bf833abfa72929caf8d3
以下内容为反编译后的 OutstreamAdTemplateResourceCache.java 源代码,内容仅作参考
package com.smaato.sdk.richmedia.util;
import android.content.SharedPreferences;
import com.smaato.sdk.core.dns.DnsResolver;
import com.smaato.sdk.core.dnsbasedresource.VersionBasedDnsResourceCache;
import com.smaato.sdk.core.log.Logger;
import com.smaato.sdk.core.rawresourceloader.RawResourceLoader;
import com.smaato.sdk.core.simplehttp.SimpleHttpClient;
import com.smaato.sdk.richmedia_light.R;
public class OutstreamAdTemplateResourceCache extends VersionBasedDnsResourceCache<String> {
private final RawResourceLoader rawResourceLoader;
public OutstreamAdTemplateResourceCache(SharedPreferences sharedPreferences, DnsResolver dnsResolver, String str, RawResourceLoader rawResourceLoader, SimpleHttpClient simpleHttpClient, Logger logger) {
super(sharedPreferences, dnsResolver, "outstream_ad_template", str, simpleHttpClient, logger);
this.rawResourceLoader = rawResourceLoader;
start();
}
@Override
public String decodeResource(String str) {
return str;
}
@Override
public String getDomainForDnsQuery() {
return "smaato_outstream_ad_template\\.txt.sdk-files.smaato.net";
}
@Override
public String getInitialResource() {
return this.rawResourceLoader.readRawTextFile(R.raw.html_player_vast);
}
@Override
public String getResourceUrl() {
return "https://sdk-files.smaato.net/smaato_outstream_ad_template.txt";
}
}