diff options
Diffstat (limited to 'api/pl.treksoft.kvision.electron/-session/set-permission-request-handler.html')
-rw-r--r-- | api/pl.treksoft.kvision.electron/-session/set-permission-request-handler.html | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/api/pl.treksoft.kvision.electron/-session/set-permission-request-handler.html b/api/pl.treksoft.kvision.electron/-session/set-permission-request-handler.html new file mode 100644 index 00000000..a35fc3c6 --- /dev/null +++ b/api/pl.treksoft.kvision.electron/-session/set-permission-request-handler.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Session.setPermissionRequestHandler - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.electron</a> / <a href="index.html">Session</a> / <a href="./set-permission-request-handler.html">setPermissionRequestHandler</a><br/> +<br/> +<h1>setPermissionRequestHandler</h1> +<a name="pl.treksoft.kvision.electron.Session$setPermissionRequestHandler(kotlin.Function4((pl.treksoft.kvision.electron.WebContents, kotlin.String, kotlin.Function1((kotlin.Boolean, kotlin.Unit)), pl.treksoft.kvision.electron.PermissionRequestHandlerDetails, kotlin.Unit)))"></a> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">setPermissionRequestHandler</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Session$setPermissionRequestHandler(kotlin.Function4((pl.treksoft.kvision.electron.WebContents, kotlin.String, kotlin.Function1((kotlin.Boolean, kotlin.Unit)), pl.treksoft.kvision.electron.PermissionRequestHandlerDetails, kotlin.Unit)))/handler">handler</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">webContents</span><span class="symbol">:</span> <a href="../-web-contents/index.html"><span class="identifier">WebContents</span></a><span class="symbol">,</span> <span class="identifier">permission</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">,</span> <span class="identifier">callback</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">permissionGranted</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a><span class="symbol">,</span> <span class="identifier">details</span><span class="symbol">:</span> <a href="../-permission-request-handler-details/index.html"><span class="identifier">PermissionRequestHandlerDetails</span></a><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a><span class="symbol">?</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code> +</BODY> +</HTML> |