今奥全景相机
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

138 lines
3.6 KiB

.class final Lcom/viatech/util/SocialShareUtil$4;
.super Ljava/lang/Object;
.source "SocialShareUtil.java"
# interfaces
.implements Lcom/facebook/FacebookCallback;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/viatech/util/SocialShareUtil;->uploadPhoto2Facebook(Landroid/net/Uri;Ljava/lang/String;Landroid/app/Activity;Lcom/viatech/util/SocialShareUtil$OnFacebookUploadCallback;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x8
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Lcom/facebook/FacebookCallback",
"<",
"Lcom/facebook/share/Sharer$Result;",
">;"
}
.end annotation
# instance fields
.field final synthetic val$callback:Lcom/viatech/util/SocialShareUtil$OnFacebookUploadCallback;
# direct methods
.method constructor <init>(Lcom/viatech/util/SocialShareUtil$OnFacebookUploadCallback;)V
.locals 0
.prologue
.line 646
iput-object p1, p0, Lcom/viatech/util/SocialShareUtil$4;->val$callback:Lcom/viatech/util/SocialShareUtil$OnFacebookUploadCallback;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public onCancel()V
.locals 2
.prologue
.line 655
const-string v0, "VPAI_SocialShareUtil"
const-string v1, "facebook onCancel"
invoke-static {v0, v1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I
.line 656
return-void
.end method
.method public onError(Lcom/facebook/FacebookException;)V
.locals 3
.prologue
.line 660
const-string v0, "VPAI_SocialShareUtil"
new-instance v1, Ljava/lang/StringBuilder;
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
const-string v2, "facebook onError: "
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v1
invoke-virtual {p1}, Lcom/facebook/FacebookException;->toString()Ljava/lang/String;
move-result-object v2
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v1
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v1
invoke-static {v0, v1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I
.line 661
iget-object v0, p0, Lcom/viatech/util/SocialShareUtil$4;->val$callback:Lcom/viatech/util/SocialShareUtil$OnFacebookUploadCallback;
const/4 v1, -0x4
const-string v2, ""
invoke-interface {v0, v1, v2}, Lcom/viatech/util/SocialShareUtil$OnFacebookUploadCallback;->onFailure(ILjava/lang/String;)V
.line 662
return-void
.end method
.method public onSuccess(Lcom/facebook/share/Sharer$Result;)V
.locals 2
.prologue
.line 649
const-string v0, "VPAI_SocialShareUtil"
const-string v1, "facebook onSuccess"
invoke-static {v0, v1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I
.line 650
iget-object v0, p0, Lcom/viatech/util/SocialShareUtil$4;->val$callback:Lcom/viatech/util/SocialShareUtil$OnFacebookUploadCallback;
invoke-interface {v0}, Lcom/viatech/util/SocialShareUtil$OnFacebookUploadCallback;->onSuccess()V
.line 651
return-void
.end method
.method public bridge synthetic onSuccess(Ljava/lang/Object;)V
.locals 0
.prologue
.line 646
check-cast p1, Lcom/facebook/share/Sharer$Result;
invoke-virtual {p0, p1}, Lcom/viatech/util/SocialShareUtil$4;->onSuccess(Lcom/facebook/share/Sharer$Result;)V
return-void
.end method