.class public final Landroidx/credentials/CredentialManager$getCredential$4$callback$1; .super Ljava/lang/Object; .source "SourceFile" # interfaces .implements Landroidx/credentials/CredentialManagerCallback; # annotations .annotation system Ldalvik/annotation/EnclosingMethod; value = Landroidx/credentials/CredentialManager;->getCredential$suspendImpl(Landroidx/credentials/CredentialManager;Landroid/content/Context;Landroidx/credentials/PrepareGetCredentialResponse$PendingGetCredentialHandle;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x19 name = null .end annotation .annotation system Ldalvik/annotation/Signature; value = { "Ljava/lang/Object;", "Landroidx/credentials/CredentialManagerCallback<", "Landroidx/credentials/GetCredentialResponse;", "Landroidx/credentials/exceptions/GetCredentialException;", ">;" } .end annotation # instance fields .field final synthetic $continuation:Lkotlinx/coroutines/CancellableContinuation; .annotation system Ldalvik/annotation/Signature; value = { "Lkotlinx/coroutines/CancellableContinuation;" } .end annotation .end field # direct methods .method public constructor (Lkotlinx/coroutines/CancellableContinuation;)V .locals 0 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lkotlinx/coroutines/CancellableContinuation;", ")V" } .end annotation iput-object p1, p0, Landroidx/credentials/CredentialManager$getCredential$4$callback$1;->$continuation:Lkotlinx/coroutines/CancellableContinuation; .line 170 invoke-direct {p0}, Ljava/lang/Object;->()V return-void .end method # virtual methods .method public onError(Landroidx/credentials/exceptions/GetCredentialException;)V .locals 2 const-string v0, "e" invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V iget-object v0, p0, Landroidx/credentials/CredentialManager$getCredential$4$callback$1;->$continuation:Lkotlinx/coroutines/CancellableContinuation; .line 178 invoke-interface {v0}, Lkotlinx/coroutines/CancellableContinuation;->isActive()Z move-result v0 if-eqz v0, :cond_0 iget-object v0, p0, Landroidx/credentials/CredentialManager$getCredential$4$callback$1;->$continuation:Lkotlinx/coroutines/CancellableContinuation; .line 179 sget-object v1, Lkotlin/Result;->Companion:Lkotlin/Result$Companion; invoke-static {p1}, Lkotlin/ResultKt;->createFailure(Ljava/lang/Throwable;)Ljava/lang/Object; move-result-object p1 invoke-static {p1}, Lkotlin/Result;->constructor-impl(Ljava/lang/Object;)Ljava/lang/Object; move-result-object p1 invoke-interface {v0, p1}, Lkotlin/coroutines/Continuation;->resumeWith(Ljava/lang/Object;)V :cond_0 return-void .end method .method public bridge synthetic onError(Ljava/lang/Object;)V .locals 0 .line 170 check-cast p1, Landroidx/credentials/exceptions/GetCredentialException; invoke-virtual {p0, p1}, Landroidx/credentials/CredentialManager$getCredential$4$callback$1;->onError(Landroidx/credentials/exceptions/GetCredentialException;)V return-void .end method .method public onResult(Landroidx/credentials/GetCredentialResponse;)V .locals 1 const-string v0, "result" invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V iget-object v0, p0, Landroidx/credentials/CredentialManager$getCredential$4$callback$1;->$continuation:Lkotlinx/coroutines/CancellableContinuation; .line 172 invoke-interface {v0}, Lkotlinx/coroutines/CancellableContinuation;->isActive()Z move-result v0 if-eqz v0, :cond_0 iget-object v0, p0, Landroidx/credentials/CredentialManager$getCredential$4$callback$1;->$continuation:Lkotlinx/coroutines/CancellableContinuation; .line 173 invoke-static {p1}, Lkotlin/Result;->constructor-impl(Ljava/lang/Object;)Ljava/lang/Object; move-result-object p1 invoke-interface {v0, p1}, Lkotlin/coroutines/Continuation;->resumeWith(Ljava/lang/Object;)V :cond_0 return-void .end method .method public bridge synthetic onResult(Ljava/lang/Object;)V .locals 0 .line 170 check-cast p1, Landroidx/credentials/GetCredentialResponse; invoke-virtual {p0, p1}, Landroidx/credentials/CredentialManager$getCredential$4$callback$1;->onResult(Landroidx/credentials/GetCredentialResponse;)V return-void .end method