<HTML> <HEAD> <meta charset="UTF-8"> <title>Protocol.unregisterProtocol - 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">Protocol</a> / <a href="./unregister-protocol.html">unregisterProtocol</a><br/> <br/> <h1>unregisterProtocol</h1> <a name="pl.treksoft.kvision.electron.Protocol$unregisterProtocol(kotlin.String, kotlin.Function1((java.lang.Error, kotlin.Unit)))"></a> <code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">unregisterProtocol</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Protocol$unregisterProtocol(kotlin.String, kotlin.Function1((java.lang.Error, kotlin.Unit)))/scheme">scheme</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" id="pl.treksoft.kvision.electron.Protocol$unregisterProtocol(kotlin.String, kotlin.Function1((java.lang.Error, kotlin.Unit)))/completion">completion</span><span class="symbol">:</span> <span class="symbol">(</span><span class="symbol">(</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-error/index.html"><span class="identifier">Error</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> definedExternally<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>