Aller au contenu

AppLinkApi

Ce contenu n’est pas encore disponible dans votre langue.

class AppLinkApi

Inbound referral links and the wallet app handoff. Obtained from FrakClient.appLink.

NameSummary
handleReferralsuspend fun handleReferral(url: String): Boolean
Decodes referral context, guards self-referral, tracks arrival. Not a “stop routing” signal.
handleReferralAsyncfun handleReferralAsync(url: String): CompletableFuture<Boolean>
handleReferral for Java.
installPageUrlsuspend fun installPageUrl(returnScheme: String, sessionId: String): String
Wallet’s hosted install page, carrying a fresh proof. Not the store listing — openFrakApp handles that handoff itself.
installPageUrlAsyncfun installPageUrlAsync(returnScheme: String, sessionId: String): CompletableFuture<String>
installPageUrl for Java. Completes exceptionally with a FrakError wrapped in a CompletionException.
isFrakAppInstalledfun isFrakAppInstalled(): Boolean
openFrakAppsuspend fun openFrakApp(): OpenAppResult
Opens the wallet app if installed, else the Play Store listing with an install referrer.
openFrakAppAsyncfun openFrakAppAsync(): CompletableFuture<OpenAppResult>
openFrakApp for Java.