<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":browser-switch:dokkaHtmlPartial/release"><div class="symbol monospace"><span class="token keyword">open </span><span class="token keyword"></span><span class="token keyword">fun </span><a href="complete-request.html"><span class="token function">completeRequest</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter "><span><span class="token annotation builtin">@</span><a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html"><span class="token annotation builtin">NonNull</span></a> </span>intent<span class="token operator">: </span><a href="https://developer.android.com/reference/kotlin/android/content/Intent.html">Intent</a><span class="token punctuation">, </span></span><span class="parameter "><span><span class="token annotation builtin">@</span><a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html"><span class="token annotation builtin">NonNull</span></a> </span>pendingRequest<span class="token operator">: </span><a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../-browser-switch-final-result/index.html">BrowserSwitchFinalResult</a></div><p class="paragraph">Completes the browser switch flow and returns a browser switch result if a match is found for the given <a href="../-browser-switch-request/index.html">BrowserSwitchRequest</a></p><span class="kdoc-tag"><h4 class="">Return</h4><p class="paragraph">a <a href="../-browser-switch-final-result/-success/index.html">BrowserSwitchFinalResult.Success</a> if the browser switch was successfully completed, or <a href="../-browser-switch-final-result/-no-result/index.html">BrowserSwitchFinalResult.NoResult</a> if no result can be found for the given pending request String. A <a href="../-browser-switch-final-result/-no-result/index.html">BrowserSwitchFinalResult.NoResult</a> will be returned if the user returns to the app without completing the browser switch flow.</p></span><h4 class="">Parameters</h4><div class="table"><div class="table-row" data-filterable-current=":browser-switch:dokkaHtmlPartial/release" data-filterable-set=":browser-switch:dokkaHtmlPartial/release"><div class="main-subrow keyValue "><div class=""><span class="inline-flex"><div><u><span><span>intent</span></span></u></div></span></div><div><div class="title"><p class="paragraph">the intent to return to your application containing a deep link result from the browser flow</p></div></div></div></div><div class="table-row" data-filterable-current=":browser-switch:dokkaHtmlPartial/release" data-filterable-set=":browser-switch:dokkaHtmlPartial/release"><div class="main-subrow keyValue "><div class=""><span class="inline-flex"><div><u><span>pending</span><wbr><span><span>Request</span></span></u></div></span></div><div><div class="title"><p class="paragraph">the pending request string returned from <a href="../-browser-switch-start-result/-started/index.html">BrowserSwitchStartResult.Started</a> via <a href="start.html">start</a></p></div></div></div></div></div></div></div>
0 commit comments