- 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
89 lines
3.2 KiB
Java
89 lines
3.2 KiB
Java
package com.facebook.ads;
|
|
|
|
import android.content.Context;
|
|
import android.view.View;
|
|
import android.widget.ImageView;
|
|
import androidx.annotation.Keep;
|
|
import androidx.annotation.Nullable;
|
|
import androidx.annotation.UiThread;
|
|
import com.facebook.ads.internal.api.NativeAdApi;
|
|
import com.facebook.ads.internal.api.NativeAdBaseApi;
|
|
import com.facebook.ads.internal.dynamicloading.DynamicLoaderFactory;
|
|
import com.facebook.ads.internal.util.common.Preconditions;
|
|
import com.facebook.infer.annotation.Nullsafe;
|
|
import java.util.List;
|
|
|
|
@Keep
|
|
@UiThread
|
|
@Nullsafe(Nullsafe.Mode.LOCAL)
|
|
/* loaded from: classes2.dex */
|
|
public class NativeAd extends NativeAdBase {
|
|
private NativeAdApi mNativeAdApi;
|
|
|
|
@Keep
|
|
public enum AdCreativeType {
|
|
IMAGE,
|
|
VIDEO,
|
|
CAROUSEL,
|
|
UNKNOWN
|
|
}
|
|
|
|
public NativeAdApi getNativeAdApi() {
|
|
return this.mNativeAdApi;
|
|
}
|
|
|
|
public NativeAd(Context context, String str) {
|
|
super(context, str);
|
|
this.mNativeAdApi = DynamicLoaderFactory.makeLoader(context).createNativeAdApi(this, this.mNativeAdBaseApi);
|
|
}
|
|
|
|
public NativeAd(Context context, NativeAdBaseApi nativeAdBaseApi) {
|
|
super(nativeAdBaseApi);
|
|
this.mNativeAdApi = DynamicLoaderFactory.makeLoader(context).createNativeAdApi(this, this.mNativeAdBaseApi);
|
|
}
|
|
|
|
public NativeAd(Context context, NativeAdBase nativeAdBase) {
|
|
super(context, nativeAdBase);
|
|
this.mNativeAdApi = DynamicLoaderFactory.makeLoader(context).createNativeAdApi(nativeAdBase, this, this.mNativeAdBaseApi);
|
|
}
|
|
|
|
@Deprecated
|
|
public VideoAutoplayBehavior getVideoAutoplayBehavior() {
|
|
return this.mNativeAdApi.getVideoAutoplayBehavior();
|
|
}
|
|
|
|
public AdCreativeType getAdCreativeType() {
|
|
return this.mNativeAdApi.getAdCreativeType();
|
|
}
|
|
|
|
public void registerViewForInteraction(View view, MediaView mediaView) {
|
|
Preconditions.checkIsOnMainThread();
|
|
this.mNativeAdApi.registerViewForInteraction(view, mediaView);
|
|
}
|
|
|
|
public void registerViewForInteraction(View view, MediaView mediaView, @Nullable MediaView mediaView2) {
|
|
Preconditions.checkIsOnMainThread();
|
|
this.mNativeAdApi.registerViewForInteraction(view, mediaView, mediaView2);
|
|
}
|
|
|
|
public void registerViewForInteraction(View view, MediaView mediaView, @Nullable List<View> list) {
|
|
Preconditions.checkIsOnMainThread();
|
|
this.mNativeAdApi.registerViewForInteraction(view, mediaView, list);
|
|
}
|
|
|
|
public void registerViewForInteraction(View view, MediaView mediaView, @Nullable MediaView mediaView2, @Nullable List<View> list) {
|
|
Preconditions.checkIsOnMainThread();
|
|
this.mNativeAdApi.registerViewForInteraction(view, mediaView, mediaView2, list);
|
|
}
|
|
|
|
public void registerViewForInteraction(View view, MediaView mediaView, @Nullable ImageView imageView) {
|
|
Preconditions.checkIsOnMainThread();
|
|
this.mNativeAdApi.registerViewForInteraction(view, mediaView, imageView);
|
|
}
|
|
|
|
public void registerViewForInteraction(View view, MediaView mediaView, @Nullable ImageView imageView, @Nullable List<View> list) {
|
|
Preconditions.checkIsOnMainThread();
|
|
this.mNativeAdApi.registerViewForInteraction(view, mediaView, imageView, list);
|
|
}
|
|
}
|