diff options
author | Robert Jaros <rjaros@finn.pl> | 2019-10-26 00:17:24 +0200 |
---|---|---|
committer | Robert Jaros <rjaros@finn.pl> | 2019-10-26 00:17:24 +0200 |
commit | fb7ff5b8bf2073a8d7b78011b9edffc830dc63cb (patch) | |
tree | 911c8e9b208b9ba77f00531668d1d99b40fcb8e3 /api1/pl.treksoft.kvision.cordova/-network | |
parent | 4f5db77ec2db6c87cb93ceb9f7ea9ab311247f17 (diff) | |
download | kvision-fb7ff5b8bf2073a8d7b78011b9edffc830dc63cb.tar.gz kvision-fb7ff5b8bf2073a8d7b78011b9edffc830dc63cb.tar.bz2 kvision-fb7ff5b8bf2073a8d7b78011b9edffc830dc63cb.zip |
API documentation for KVision 2.0.0
Diffstat (limited to 'api1/pl.treksoft.kvision.cordova/-network')
15 files changed, 352 insertions, 0 deletions
diff --git a/api1/pl.treksoft.kvision.cordova/-network/-connection-type/-c-e-l-l.html b/api1/pl.treksoft.kvision.cordova/-network/-connection-type/-c-e-l-l.html new file mode 100644 index 00000000..a7bd0317 --- /dev/null +++ b/api1/pl.treksoft.kvision.cordova/-network/-connection-type/-c-e-l-l.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Network.ConnectionType.CELL - kvision</title> +<link rel="stylesheet" href="../../../../style.css"> +</HEAD> +<BODY> +<a href="../../../index.html">kvision</a> / <a href="../../index.html">pl.treksoft.kvision.cordova</a> / <a href="../index.html">Network</a> / <a href="index.html">ConnectionType</a> / <a href="./-c-e-l-l.html">CELL</a><br/> +<br/> +<h1>CELL</h1> +<a name="pl.treksoft.kvision.cordova.Network.ConnectionType.CELL"></a> +<code><span class="identifier">CELL</span></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.cordova/-network/-connection-type/-c-e-l-l_2-g.html b/api1/pl.treksoft.kvision.cordova/-network/-connection-type/-c-e-l-l_2-g.html new file mode 100644 index 00000000..0972f05f --- /dev/null +++ b/api1/pl.treksoft.kvision.cordova/-network/-connection-type/-c-e-l-l_2-g.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Network.ConnectionType.CELL_2G - kvision</title> +<link rel="stylesheet" href="../../../../style.css"> +</HEAD> +<BODY> +<a href="../../../index.html">kvision</a> / <a href="../../index.html">pl.treksoft.kvision.cordova</a> / <a href="../index.html">Network</a> / <a href="index.html">ConnectionType</a> / <a href="./-c-e-l-l_2-g.html">CELL_2G</a><br/> +<br/> +<h1>CELL_2G</h1> +<a name="pl.treksoft.kvision.cordova.Network.ConnectionType.CELL_2G"></a> +<code><span class="identifier">CELL_2G</span></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.cordova/-network/-connection-type/-c-e-l-l_3-g.html b/api1/pl.treksoft.kvision.cordova/-network/-connection-type/-c-e-l-l_3-g.html new file mode 100644 index 00000000..283f0b89 --- /dev/null +++ b/api1/pl.treksoft.kvision.cordova/-network/-connection-type/-c-e-l-l_3-g.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Network.ConnectionType.CELL_3G - kvision</title> +<link rel="stylesheet" href="../../../../style.css"> +</HEAD> +<BODY> +<a href="../../../index.html">kvision</a> / <a href="../../index.html">pl.treksoft.kvision.cordova</a> / <a href="../index.html">Network</a> / <a href="index.html">ConnectionType</a> / <a href="./-c-e-l-l_3-g.html">CELL_3G</a><br/> +<br/> +<h1>CELL_3G</h1> +<a name="pl.treksoft.kvision.cordova.Network.ConnectionType.CELL_3G"></a> +<code><span class="identifier">CELL_3G</span></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.cordova/-network/-connection-type/-c-e-l-l_4-g.html b/api1/pl.treksoft.kvision.cordova/-network/-connection-type/-c-e-l-l_4-g.html new file mode 100644 index 00000000..9ca6b2a1 --- /dev/null +++ b/api1/pl.treksoft.kvision.cordova/-network/-connection-type/-c-e-l-l_4-g.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Network.ConnectionType.CELL_4G - kvision</title> +<link rel="stylesheet" href="../../../../style.css"> +</HEAD> +<BODY> +<a href="../../../index.html">kvision</a> / <a href="../../index.html">pl.treksoft.kvision.cordova</a> / <a href="../index.html">Network</a> / <a href="index.html">ConnectionType</a> / <a href="./-c-e-l-l_4-g.html">CELL_4G</a><br/> +<br/> +<h1>CELL_4G</h1> +<a name="pl.treksoft.kvision.cordova.Network.ConnectionType.CELL_4G"></a> +<code><span class="identifier">CELL_4G</span></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.cordova/-network/-connection-type/-e-t-h-e-r-n-e-t.html b/api1/pl.treksoft.kvision.cordova/-network/-connection-type/-e-t-h-e-r-n-e-t.html new file mode 100644 index 00000000..d4f11704 --- /dev/null +++ b/api1/pl.treksoft.kvision.cordova/-network/-connection-type/-e-t-h-e-r-n-e-t.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Network.ConnectionType.ETHERNET - kvision</title> +<link rel="stylesheet" href="../../../../style.css"> +</HEAD> +<BODY> +<a href="../../../index.html">kvision</a> / <a href="../../index.html">pl.treksoft.kvision.cordova</a> / <a href="../index.html">Network</a> / <a href="index.html">ConnectionType</a> / <a href="./-e-t-h-e-r-n-e-t.html">ETHERNET</a><br/> +<br/> +<h1>ETHERNET</h1> +<a name="pl.treksoft.kvision.cordova.Network.ConnectionType.ETHERNET"></a> +<code><span class="identifier">ETHERNET</span></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.cordova/-network/-connection-type/-n-o-n-e.html b/api1/pl.treksoft.kvision.cordova/-network/-connection-type/-n-o-n-e.html new file mode 100644 index 00000000..194b610a --- /dev/null +++ b/api1/pl.treksoft.kvision.cordova/-network/-connection-type/-n-o-n-e.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Network.ConnectionType.NONE - kvision</title> +<link rel="stylesheet" href="../../../../style.css"> +</HEAD> +<BODY> +<a href="../../../index.html">kvision</a> / <a href="../../index.html">pl.treksoft.kvision.cordova</a> / <a href="../index.html">Network</a> / <a href="index.html">ConnectionType</a> / <a href="./-n-o-n-e.html">NONE</a><br/> +<br/> +<h1>NONE</h1> +<a name="pl.treksoft.kvision.cordova.Network.ConnectionType.NONE"></a> +<code><span class="identifier">NONE</span></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.cordova/-network/-connection-type/-u-n-k-n-o-w-n.html b/api1/pl.treksoft.kvision.cordova/-network/-connection-type/-u-n-k-n-o-w-n.html new file mode 100644 index 00000000..33f411aa --- /dev/null +++ b/api1/pl.treksoft.kvision.cordova/-network/-connection-type/-u-n-k-n-o-w-n.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Network.ConnectionType.UNKNOWN - kvision</title> +<link rel="stylesheet" href="../../../../style.css"> +</HEAD> +<BODY> +<a href="../../../index.html">kvision</a> / <a href="../../index.html">pl.treksoft.kvision.cordova</a> / <a href="../index.html">Network</a> / <a href="index.html">ConnectionType</a> / <a href="./-u-n-k-n-o-w-n.html">UNKNOWN</a><br/> +<br/> +<h1>UNKNOWN</h1> +<a name="pl.treksoft.kvision.cordova.Network.ConnectionType.UNKNOWN"></a> +<code><span class="identifier">UNKNOWN</span></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.cordova/-network/-connection-type/-w-i-f-i.html b/api1/pl.treksoft.kvision.cordova/-network/-connection-type/-w-i-f-i.html new file mode 100644 index 00000000..1e8dc6d5 --- /dev/null +++ b/api1/pl.treksoft.kvision.cordova/-network/-connection-type/-w-i-f-i.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Network.ConnectionType.WIFI - kvision</title> +<link rel="stylesheet" href="../../../../style.css"> +</HEAD> +<BODY> +<a href="../../../index.html">kvision</a> / <a href="../../index.html">pl.treksoft.kvision.cordova</a> / <a href="../index.html">Network</a> / <a href="index.html">ConnectionType</a> / <a href="./-w-i-f-i.html">WIFI</a><br/> +<br/> +<h1>WIFI</h1> +<a name="pl.treksoft.kvision.cordova.Network.ConnectionType.WIFI"></a> +<code><span class="identifier">WIFI</span></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.cordova/-network/-connection-type/index.html b/api1/pl.treksoft.kvision.cordova/-network/-connection-type/index.html new file mode 100644 index 00000000..6067366c --- /dev/null +++ b/api1/pl.treksoft.kvision.cordova/-network/-connection-type/index.html @@ -0,0 +1,75 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Network.ConnectionType - kvision</title> +<link rel="stylesheet" href="../../../../style.css"> +</HEAD> +<BODY> +<a href="../../../index.html">kvision</a> / <a href="../../index.html">pl.treksoft.kvision.cordova</a> / <a href="../index.html">Network</a> / <a href="./index.html">ConnectionType</a><br/> +<br/> +<h1>ConnectionType</h1> +<code><span class="keyword">enum</span> <span class="keyword">class </span><span class="identifier">ConnectionType</span></code> +<p>Connection types</p> +<h3>Enum Values</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="-u-n-k-n-o-w-n.html">UNKNOWN</a></p> +</td> +<td> +</td> +</tr> +<tr> +<td> +<p><a href="-e-t-h-e-r-n-e-t.html">ETHERNET</a></p> +</td> +<td> +</td> +</tr> +<tr> +<td> +<p><a href="-w-i-f-i.html">WIFI</a></p> +</td> +<td> +</td> +</tr> +<tr> +<td> +<p><a href="-c-e-l-l_2-g.html">CELL_2G</a></p> +</td> +<td> +</td> +</tr> +<tr> +<td> +<p><a href="-c-e-l-l_3-g.html">CELL_3G</a></p> +</td> +<td> +</td> +</tr> +<tr> +<td> +<p><a href="-c-e-l-l_4-g.html">CELL_4G</a></p> +</td> +<td> +</td> +</tr> +<tr> +<td> +<p><a href="-c-e-l-l.html">CELL</a></p> +</td> +<td> +</td> +</tr> +<tr> +<td> +<p><a href="-n-o-n-e.html">NONE</a></p> +</td> +<td> +</td> +</tr> +</tbody> +</table> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.cordova/-network/-network-event/-o-f-f-l-i-n-e.html b/api1/pl.treksoft.kvision.cordova/-network/-network-event/-o-f-f-l-i-n-e.html new file mode 100644 index 00000000..51ec066f --- /dev/null +++ b/api1/pl.treksoft.kvision.cordova/-network/-network-event/-o-f-f-l-i-n-e.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Network.NetworkEvent.OFFLINE - kvision</title> +<link rel="stylesheet" href="../../../../style.css"> +</HEAD> +<BODY> +<a href="../../../index.html">kvision</a> / <a href="../../index.html">pl.treksoft.kvision.cordova</a> / <a href="../index.html">Network</a> / <a href="index.html">NetworkEvent</a> / <a href="./-o-f-f-l-i-n-e.html">OFFLINE</a><br/> +<br/> +<h1>OFFLINE</h1> +<a name="pl.treksoft.kvision.cordova.Network.NetworkEvent.OFFLINE"></a> +<code><span class="identifier">OFFLINE</span></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.cordova/-network/-network-event/-o-n-l-i-n-e.html b/api1/pl.treksoft.kvision.cordova/-network/-network-event/-o-n-l-i-n-e.html new file mode 100644 index 00000000..7b9aee16 --- /dev/null +++ b/api1/pl.treksoft.kvision.cordova/-network/-network-event/-o-n-l-i-n-e.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Network.NetworkEvent.ONLINE - kvision</title> +<link rel="stylesheet" href="../../../../style.css"> +</HEAD> +<BODY> +<a href="../../../index.html">kvision</a> / <a href="../../index.html">pl.treksoft.kvision.cordova</a> / <a href="../index.html">Network</a> / <a href="index.html">NetworkEvent</a> / <a href="./-o-n-l-i-n-e.html">ONLINE</a><br/> +<br/> +<h1>ONLINE</h1> +<a name="pl.treksoft.kvision.cordova.Network.NetworkEvent.ONLINE"></a> +<code><span class="identifier">ONLINE</span></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.cordova/-network/-network-event/index.html b/api1/pl.treksoft.kvision.cordova/-network/-network-event/index.html new file mode 100644 index 00000000..ceb13551 --- /dev/null +++ b/api1/pl.treksoft.kvision.cordova/-network/-network-event/index.html @@ -0,0 +1,33 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Network.NetworkEvent - kvision</title> +<link rel="stylesheet" href="../../../../style.css"> +</HEAD> +<BODY> +<a href="../../../index.html">kvision</a> / <a href="../../index.html">pl.treksoft.kvision.cordova</a> / <a href="../index.html">Network</a> / <a href="./index.html">NetworkEvent</a><br/> +<br/> +<h1>NetworkEvent</h1> +<code><span class="keyword">enum</span> <span class="keyword">class </span><span class="identifier">NetworkEvent</span></code> +<p>Network status events</p> +<h3>Enum Values</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="-o-f-f-l-i-n-e.html">OFFLINE</a></p> +</td> +<td> +</td> +</tr> +<tr> +<td> +<p><a href="-o-n-l-i-n-e.html">ONLINE</a></p> +</td> +<td> +</td> +</tr> +</tbody> +</table> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.cordova/-network/add-status-listener.html b/api1/pl.treksoft.kvision.cordova/-network/add-status-listener.html new file mode 100644 index 00000000..15498c02 --- /dev/null +++ b/api1/pl.treksoft.kvision.cordova/-network/add-status-listener.html @@ -0,0 +1,15 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Network.addStatusListener - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.cordova</a> / <a href="index.html">Network</a> / <a href="./add-status-listener.html">addStatusListener</a><br/> +<br/> +<h1>addStatusListener</h1> +<a name="pl.treksoft.kvision.cordova.Network$addStatusListener(pl.treksoft.kvision.cordova.Network.NetworkEvent, kotlin.Function0((kotlin.Unit)))"></a> +<code><span class="keyword">fun </span><span class="identifier">addStatusListener</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.cordova.Network$addStatusListener(pl.treksoft.kvision.cordova.Network.NetworkEvent, kotlin.Function0((kotlin.Unit)))/event">event</span><span class="symbol">:</span> <a href="-network-event/index.html"><span class="identifier">Network.NetworkEvent</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.cordova.Network$addStatusListener(pl.treksoft.kvision.cordova.Network.NetworkEvent, kotlin.Function0((kotlin.Unit)))/listener">listener</span><span class="symbol">:</span> <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><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> +<p>Add listeners for network status Cordova events.</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.cordova/-network/get-connection-type.html b/api1/pl.treksoft.kvision.cordova/-network/get-connection-type.html new file mode 100644 index 00000000..44ed1509 --- /dev/null +++ b/api1/pl.treksoft.kvision.cordova/-network/get-connection-type.html @@ -0,0 +1,15 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Network.getConnectionType - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.cordova</a> / <a href="index.html">Network</a> / <a href="./get-connection-type.html">getConnectionType</a><br/> +<br/> +<h1>getConnectionType</h1> +<a name="pl.treksoft.kvision.cordova.Network$getConnectionType()"></a> +<code><span class="keyword">suspend</span> <span class="keyword">fun </span><span class="identifier">getConnectionType</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="-connection-type/index.html"><span class="identifier">Network.ConnectionType</span></a></code> +<p>Get network connection type.</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.cordova/-network/index.html b/api1/pl.treksoft.kvision.cordova/-network/index.html new file mode 100644 index 00000000..831f493f --- /dev/null +++ b/api1/pl.treksoft.kvision.cordova/-network/index.html @@ -0,0 +1,74 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Network - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.cordova</a> / <a href="./index.html">Network</a><br/> +<br/> +<h1>Network</h1> +<code><span class="keyword">object </span><span class="identifier">Network</span></code> +<p>Main object for Cordova network.</p> +<h3>Types</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="-connection-type/index.html">ConnectionType</a></p> +</td> +<td> +<code><span class="keyword">enum</span> <span class="keyword">class </span><span class="identifier">ConnectionType</span></code> +<p>Connection types</p> +</td> +</tr> +<tr> +<td> +<p><a href="-network-event/index.html">NetworkEvent</a></p> +</td> +<td> +<code><span class="keyword">enum</span> <span class="keyword">class </span><span class="identifier">NetworkEvent</span></code> +<p>Network status events</p> +</td> +</tr> +</tbody> +</table> +<h3>Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="add-status-listener.html">addStatusListener</a></p> +</td> +<td> +<code><span class="keyword">fun </span><span class="identifier">addStatusListener</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.cordova.Network$addStatusListener(pl.treksoft.kvision.cordova.Network.NetworkEvent, kotlin.Function0((kotlin.Unit)))/event">event</span><span class="symbol">:</span> <a href="-network-event/index.html"><span class="identifier">Network.NetworkEvent</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.cordova.Network$addStatusListener(pl.treksoft.kvision.cordova.Network.NetworkEvent, kotlin.Function0((kotlin.Unit)))/listener">listener</span><span class="symbol">:</span> <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><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> +<p>Add listeners for network status Cordova events.</p> +</td> +</tr> +<tr> +<td> +<p><a href="get-connection-type.html">getConnectionType</a></p> +</td> +<td> +<code><span class="keyword">suspend</span> <span class="keyword">fun </span><span class="identifier">getConnectionType</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="-connection-type/index.html"><span class="identifier">Network.ConnectionType</span></a></code> +<p>Get network connection type.</p> +</td> +</tr> +</tbody> +</table> +<h3>Extension Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="../../pl.treksoft.kvision.utils/kotlin.-any/create-instance.html">createInstance</a></p> +</td> +<td> +<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">?</span><span class="symbol">.</span><span class="identifier">createInstance</span><span class="symbol">(</span><span class="keyword">vararg</span> <span class="identifier" id="pl.treksoft.kvision.utils$createInstance(kotlin.Any, kotlin.Array((kotlin.Any)))/args">args</span><span class="symbol">:</span> <span class="keyword">dynamic</span><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.utils/kotlin.-any/create-instance.html#T"><span class="identifier">T</span></a></code> +<p>Helper function for creating JavaScript objects from dynamic constructors.</p> +</td> +</tr> +</tbody> +</table> +</BODY> +</HTML> |