MMCVideoCacheUtil$1.smali
.class Lcom/mmc/player/videocache/MMCVideoCacheUtil$1;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lcom/mmc/player/videocache/MMCVideoCacheUtil$MMCInnerPreloadListener;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/mmc/player/videocache/MMCVideoCacheUtil;->cache(Ljava/lang/String;JLjava/lang/String;Lcom/mmc/player/videocache/MMCVideoCacheUtil$MMCPreloadListener;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
.field public final synthetic val$listener:Lcom/mmc/player/videocache/MMCVideoCacheUtil$MMCPreloadListener;
.field public final synthetic val$replaceUrl:Ljava/lang/String;
# direct methods
.method public constructor <init>(Lcom/mmc/player/videocache/MMCVideoCacheUtil$MMCPreloadListener;Ljava/lang/String;)V
.registers 3
iput-object p1, p0, Lcom/mmc/player/videocache/MMCVideoCacheUtil$1;->val$listener:Lcom/mmc/player/videocache/MMCVideoCacheUtil$MMCPreloadListener;
iput-object p2, p0, Lcom/mmc/player/videocache/MMCVideoCacheUtil$1;->val$replaceUrl:Ljava/lang/String;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public onCompleted(Ljava/util/HashMap;)V
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/HashMap<",
"Ljava/lang/String;",
"Ljava/lang/String;",
">;)V"
}
.end annotation
.line 1
iget-object v0, p0, Lcom/mmc/player/videocache/MMCVideoCacheUtil$1;->val$listener:Lcom/mmc/player/videocache/MMCVideoCacheUtil$MMCPreloadListener;
invoke-interface {v0, p1}, Lcom/mmc/player/videocache/MMCVideoCacheUtil$MMCPreloadListener;->onCompleted(Ljava/util/HashMap;)V
.line 2
# getter for: Lcom/mmc/player/videocache/MMCVideoCacheUtil;->cacheMap:Ljava/util/concurrent/ConcurrentHashMap;
invoke-static {}, Lcom/mmc/player/videocache/MMCVideoCacheUtil;->access$000()Ljava/util/concurrent/ConcurrentHashMap;
move-result-object p1
iget-object v0, p0, Lcom/mmc/player/videocache/MMCVideoCacheUtil$1;->val$replaceUrl:Ljava/lang/String;
invoke-virtual {p1, v0}, Ljava/util/concurrent/ConcurrentHashMap;->remove(Ljava/lang/Object;)Ljava/lang/Object;
return-void
.end method
.method public onError(Ljava/util/HashMap;)V
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/HashMap<",
"Ljava/lang/String;",
"Ljava/lang/String;",
">;)V"
}
.end annotation
.line 1
iget-object v0, p0, Lcom/mmc/player/videocache/MMCVideoCacheUtil$1;->val$listener:Lcom/mmc/player/videocache/MMCVideoCacheUtil$MMCPreloadListener;
invoke-interface {v0, p1}, Lcom/mmc/player/videocache/MMCVideoCacheUtil$MMCPreloadListener;->onError(Ljava/util/HashMap;)V
.line 2
# getter for: Lcom/mmc/player/videocache/MMCVideoCacheUtil;->cacheMap:Ljava/util/concurrent/ConcurrentHashMap;
invoke-static {}, Lcom/mmc/player/videocache/MMCVideoCacheUtil;->access$000()Ljava/util/concurrent/ConcurrentHashMap;
move-result-object p1
iget-object v0, p0, Lcom/mmc/player/videocache/MMCVideoCacheUtil$1;->val$replaceUrl:Ljava/lang/String;
invoke-virtual {p1, v0}, Ljava/util/concurrent/ConcurrentHashMap;->remove(Ljava/lang/Object;)Ljava/lang/Object;
return-void
.end method