AppLinkApi
class AppLinkApi
Inbound referral links and the wallet app handoff. Obtained from FrakClient.appLink.
Functions
Section titled “Functions”| Name | Summary |
|---|---|
| handleReferral | suspend fun handleReferral(url: String): Boolean Decodes referral context, guards self-referral, tracks arrival. Not a “stop routing” signal. |
| handleReferralAsync | fun handleReferralAsync(url: String): CompletableFuture<Boolean> handleReferral for Java. |
| installPageUrl | suspend 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. |
| installPageUrlAsync | fun installPageUrlAsync(returnScheme: String, sessionId: String): CompletableFuture<String> installPageUrl for Java. Completes exceptionally with a FrakError wrapped in a CompletionException. |
| isFrakAppInstalled | fun isFrakAppInstalled(): Boolean |
| openFrakApp | suspend fun openFrakApp(): OpenAppResult Opens the wallet app if installed, else the Play Store listing with an install referrer. |
| openFrakAppAsync | fun openFrakAppAsync(): CompletableFuture<OpenAppResult> openFrakApp for Java. |