AppsFlyer2dXConversionCallback.smali
.class public Lcom/appsflyer/AppsFlyer2dXConversionCallback;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lcom/appsflyer/AppsFlyerConversionListener;
.implements Lcom/appsflyer/deeplink/DeepLinkListener;
.implements Lcom/appsflyer/share/LinkGenerator$ResponseListener;
# direct methods
.method public constructor <init>()V
.registers 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method private AFInAppEventParameterName(Ljava/lang/String;Ljava/lang/String;)V
.registers 6
:try_start_0
new-instance v0, Lorg/json/JSONObject;
invoke-direct {v0}, Lorg/json/JSONObject;-><init>()V
const-string v1, "status"
const-string v2, "failure"
invoke-virtual {v0, v1, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
const-string v1, "data"
invoke-virtual {v0, v1, p2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
invoke-virtual {p1}, Ljava/lang/Object;->hashCode()I
move-result p2
const v1, -0x52d9d3b6
const/4 v2, 0x1
if-eq p2, v1, :cond_2b
const v1, 0x3ea0a838
if-eq p2, v1, :cond_21
goto :goto_35
:cond_21
const-string p2, "onInstallConversionFailure"
invoke-virtual {p1, p2}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z
move-result p1
if-eqz p1, :cond_35
const/4 p1, 0x0
goto :goto_36
:cond_2b
const-string p2, "onAttributionFailure"
invoke-virtual {p1, p2}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z
move-result p1
if-eqz p1, :cond_35
const/4 p1, 0x1
goto :goto_36
:cond_35
:goto_35
const/4 p1, -0x1
:goto_36
if-eqz p1, :cond_3f
if-eq p1, v2, :cond_3b
goto :goto_3e
:cond_3b
invoke-virtual {p0, v0}, Lcom/appsflyer/AppsFlyer2dXConversionCallback;->onAttributionFailureNative(Ljava/lang/Object;)V
:goto_3e
return-void
:cond_3f
invoke-virtual {p0, v0}, Lcom/appsflyer/AppsFlyer2dXConversionCallback;->onInstallConversionFailureNative(Ljava/lang/Object;)V
:try_end_42
.catch Lorg/json/JSONException; {:try_start_0 .. :try_end_42} :catch_43
return-void
:catch_43
move-exception p1
const-string p2, "2dx error"
invoke-static {p2, p1}, Lcom/appsflyer/AFLogger;->afErrorLogForExcManagerOnly(Ljava/lang/String;Ljava/lang/Throwable;)V
invoke-virtual {p1}, Ljava/lang/Throwable;->printStackTrace()V
return-void
.end method
# virtual methods
.method public onAppOpenAttribution(Ljava/util/Map;)V
.registers 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/Map<",
"Ljava/lang/String;",
"Ljava/lang/String;",
">;)V"
}
.end annotation
invoke-virtual {p0, p1}, Lcom/appsflyer/AppsFlyer2dXConversionCallback;->onAppOpenAttributionNative(Ljava/lang/Object;)V
return-void
.end method
.method public native onAppOpenAttributionNative(Ljava/lang/Object;)V
.end method
.method public onAttributionFailure(Ljava/lang/String;)V
.registers 3
const-string v0, "onInstallConversionFailure"
invoke-direct {p0, v0, p1}, Lcom/appsflyer/AppsFlyer2dXConversionCallback;->AFInAppEventParameterName(Ljava/lang/String;Ljava/lang/String;)V
return-void
.end method
.method public native onAttributionFailureNative(Ljava/lang/Object;)V
.end method
.method public onConversionDataFail(Ljava/lang/String;)V
.registers 3
const-string v0, "onAttributionFailure"
invoke-direct {p0, v0, p1}, Lcom/appsflyer/AppsFlyer2dXConversionCallback;->AFInAppEventParameterName(Ljava/lang/String;Ljava/lang/String;)V
return-void
.end method
.method public onConversionDataSuccess(Ljava/util/Map;)V
.registers 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/Map<",
"Ljava/lang/String;",
"Ljava/lang/Object;",
">;)V"
}
.end annotation
invoke-virtual {p0, p1}, Lcom/appsflyer/AppsFlyer2dXConversionCallback;->onInstallConversionDataLoadedNative(Ljava/lang/Object;)V
return-void
.end method
.method public onDeepLinking(Lcom/appsflyer/deeplink/DeepLinkResult;)V
.registers 2
.param p1 # Lcom/appsflyer/deeplink/DeepLinkResult;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
invoke-virtual {p0, p1}, Lcom/appsflyer/AppsFlyer2dXConversionCallback;->onDeepLinkingNative(Lcom/appsflyer/deeplink/DeepLinkResult;)V
return-void
.end method
.method public native onDeepLinkingNative(Lcom/appsflyer/deeplink/DeepLinkResult;)V
.param p1 # Lcom/appsflyer/deeplink/DeepLinkResult;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.end method
.method public native onInstallConversionDataLoadedNative(Ljava/lang/Object;)V
.end method
.method public native onInstallConversionFailureNative(Ljava/lang/Object;)V
.end method
.method public onResponse(Ljava/lang/String;)V
.registers 2
invoke-virtual {p0, p1}, Lcom/appsflyer/AppsFlyer2dXConversionCallback;->onResponseNative(Ljava/lang/String;)V
return-void
.end method
.method public onResponseError(Ljava/lang/String;)V
.registers 2
invoke-virtual {p0, p1}, Lcom/appsflyer/AppsFlyer2dXConversionCallback;->onResponseErrorNative(Ljava/lang/String;)V
return-void
.end method
.method public native onResponseErrorNative(Ljava/lang/String;)V
.end method
.method public native onResponseNative(Ljava/lang/String;)V
.end method