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/-screen | |
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/-screen')
13 files changed, 312 insertions, 0 deletions
diff --git a/api1/pl.treksoft.kvision.cordova/-screen/-orientation/-a-n-y.html b/api1/pl.treksoft.kvision.cordova/-screen/-orientation/-a-n-y.html new file mode 100644 index 00000000..76fe17ea --- /dev/null +++ b/api1/pl.treksoft.kvision.cordova/-screen/-orientation/-a-n-y.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Screen.Orientation.ANY - 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">Screen</a> / <a href="index.html">Orientation</a> / <a href="./-a-n-y.html">ANY</a><br/> +<br/> +<h1>ANY</h1> +<a name="pl.treksoft.kvision.cordova.Screen.Orientation.ANY"></a> +<code><span class="identifier">ANY</span></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.cordova/-screen/-orientation/-l-a-n-d-s-c-a-p-e.html b/api1/pl.treksoft.kvision.cordova/-screen/-orientation/-l-a-n-d-s-c-a-p-e.html new file mode 100644 index 00000000..5e983cda --- /dev/null +++ b/api1/pl.treksoft.kvision.cordova/-screen/-orientation/-l-a-n-d-s-c-a-p-e.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Screen.Orientation.LANDSCAPE - 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">Screen</a> / <a href="index.html">Orientation</a> / <a href="./-l-a-n-d-s-c-a-p-e.html">LANDSCAPE</a><br/> +<br/> +<h1>LANDSCAPE</h1> +<a name="pl.treksoft.kvision.cordova.Screen.Orientation.LANDSCAPE"></a> +<code><span class="identifier">LANDSCAPE</span></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.cordova/-screen/-orientation/-l-a-n-d-s-c-a-p-e_-p-r-i-m-a-r-y.html b/api1/pl.treksoft.kvision.cordova/-screen/-orientation/-l-a-n-d-s-c-a-p-e_-p-r-i-m-a-r-y.html new file mode 100644 index 00000000..1a995183 --- /dev/null +++ b/api1/pl.treksoft.kvision.cordova/-screen/-orientation/-l-a-n-d-s-c-a-p-e_-p-r-i-m-a-r-y.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Screen.Orientation.LANDSCAPE_PRIMARY - 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">Screen</a> / <a href="index.html">Orientation</a> / <a href="./-l-a-n-d-s-c-a-p-e_-p-r-i-m-a-r-y.html">LANDSCAPE_PRIMARY</a><br/> +<br/> +<h1>LANDSCAPE_PRIMARY</h1> +<a name="pl.treksoft.kvision.cordova.Screen.Orientation.LANDSCAPE_PRIMARY"></a> +<code><span class="identifier">LANDSCAPE_PRIMARY</span></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.cordova/-screen/-orientation/-l-a-n-d-s-c-a-p-e_-s-e-c-o-n-d-a-r-y.html b/api1/pl.treksoft.kvision.cordova/-screen/-orientation/-l-a-n-d-s-c-a-p-e_-s-e-c-o-n-d-a-r-y.html new file mode 100644 index 00000000..2db0ca92 --- /dev/null +++ b/api1/pl.treksoft.kvision.cordova/-screen/-orientation/-l-a-n-d-s-c-a-p-e_-s-e-c-o-n-d-a-r-y.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Screen.Orientation.LANDSCAPE_SECONDARY - 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">Screen</a> / <a href="index.html">Orientation</a> / <a href="./-l-a-n-d-s-c-a-p-e_-s-e-c-o-n-d-a-r-y.html">LANDSCAPE_SECONDARY</a><br/> +<br/> +<h1>LANDSCAPE_SECONDARY</h1> +<a name="pl.treksoft.kvision.cordova.Screen.Orientation.LANDSCAPE_SECONDARY"></a> +<code><span class="identifier">LANDSCAPE_SECONDARY</span></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.cordova/-screen/-orientation/-p-o-r-t-r-a-i-t.html b/api1/pl.treksoft.kvision.cordova/-screen/-orientation/-p-o-r-t-r-a-i-t.html new file mode 100644 index 00000000..e0e7cf60 --- /dev/null +++ b/api1/pl.treksoft.kvision.cordova/-screen/-orientation/-p-o-r-t-r-a-i-t.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Screen.Orientation.PORTRAIT - 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">Screen</a> / <a href="index.html">Orientation</a> / <a href="./-p-o-r-t-r-a-i-t.html">PORTRAIT</a><br/> +<br/> +<h1>PORTRAIT</h1> +<a name="pl.treksoft.kvision.cordova.Screen.Orientation.PORTRAIT"></a> +<code><span class="identifier">PORTRAIT</span></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.cordova/-screen/-orientation/-p-o-r-t-r-a-i-t_-p-r-i-m-a-r-y.html b/api1/pl.treksoft.kvision.cordova/-screen/-orientation/-p-o-r-t-r-a-i-t_-p-r-i-m-a-r-y.html new file mode 100644 index 00000000..cec80cb0 --- /dev/null +++ b/api1/pl.treksoft.kvision.cordova/-screen/-orientation/-p-o-r-t-r-a-i-t_-p-r-i-m-a-r-y.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Screen.Orientation.PORTRAIT_PRIMARY - 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">Screen</a> / <a href="index.html">Orientation</a> / <a href="./-p-o-r-t-r-a-i-t_-p-r-i-m-a-r-y.html">PORTRAIT_PRIMARY</a><br/> +<br/> +<h1>PORTRAIT_PRIMARY</h1> +<a name="pl.treksoft.kvision.cordova.Screen.Orientation.PORTRAIT_PRIMARY"></a> +<code><span class="identifier">PORTRAIT_PRIMARY</span></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.cordova/-screen/-orientation/-p-o-r-t-r-a-i-t_-s-e-c-o-n-d-a-r-y.html b/api1/pl.treksoft.kvision.cordova/-screen/-orientation/-p-o-r-t-r-a-i-t_-s-e-c-o-n-d-a-r-y.html new file mode 100644 index 00000000..c93b1dd7 --- /dev/null +++ b/api1/pl.treksoft.kvision.cordova/-screen/-orientation/-p-o-r-t-r-a-i-t_-s-e-c-o-n-d-a-r-y.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Screen.Orientation.PORTRAIT_SECONDARY - 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">Screen</a> / <a href="index.html">Orientation</a> / <a href="./-p-o-r-t-r-a-i-t_-s-e-c-o-n-d-a-r-y.html">PORTRAIT_SECONDARY</a><br/> +<br/> +<h1>PORTRAIT_SECONDARY</h1> +<a name="pl.treksoft.kvision.cordova.Screen.Orientation.PORTRAIT_SECONDARY"></a> +<code><span class="identifier">PORTRAIT_SECONDARY</span></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.cordova/-screen/-orientation/index.html b/api1/pl.treksoft.kvision.cordova/-screen/-orientation/index.html new file mode 100644 index 00000000..0f405640 --- /dev/null +++ b/api1/pl.treksoft.kvision.cordova/-screen/-orientation/index.html @@ -0,0 +1,68 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Screen.Orientation - 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">Screen</a> / <a href="./index.html">Orientation</a><br/> +<br/> +<h1>Orientation</h1> +<code><span class="keyword">enum</span> <span class="keyword">class </span><span class="identifier">Orientation</span></code> +<p>Screen orientations</p> +<h3>Enum Values</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="-p-o-r-t-r-a-i-t_-p-r-i-m-a-r-y.html">PORTRAIT_PRIMARY</a></p> +</td> +<td> +</td> +</tr> +<tr> +<td> +<p><a href="-p-o-r-t-r-a-i-t_-s-e-c-o-n-d-a-r-y.html">PORTRAIT_SECONDARY</a></p> +</td> +<td> +</td> +</tr> +<tr> +<td> +<p><a href="-l-a-n-d-s-c-a-p-e_-p-r-i-m-a-r-y.html">LANDSCAPE_PRIMARY</a></p> +</td> +<td> +</td> +</tr> +<tr> +<td> +<p><a href="-l-a-n-d-s-c-a-p-e_-s-e-c-o-n-d-a-r-y.html">LANDSCAPE_SECONDARY</a></p> +</td> +<td> +</td> +</tr> +<tr> +<td> +<p><a href="-p-o-r-t-r-a-i-t.html">PORTRAIT</a></p> +</td> +<td> +</td> +</tr> +<tr> +<td> +<p><a href="-l-a-n-d-s-c-a-p-e.html">LANDSCAPE</a></p> +</td> +<td> +</td> +</tr> +<tr> +<td> +<p><a href="-a-n-y.html">ANY</a></p> +</td> +<td> +</td> +</tr> +</tbody> +</table> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.cordova/-screen/add-orientation-change-listener.html b/api1/pl.treksoft.kvision.cordova/-screen/add-orientation-change-listener.html new file mode 100644 index 00000000..ad6e4956 --- /dev/null +++ b/api1/pl.treksoft.kvision.cordova/-screen/add-orientation-change-listener.html @@ -0,0 +1,15 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Screen.addOrientationChangeListener - 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">Screen</a> / <a href="./add-orientation-change-listener.html">addOrientationChangeListener</a><br/> +<br/> +<h1>addOrientationChangeListener</h1> +<a name="pl.treksoft.kvision.cordova.Screen$addOrientationChangeListener(kotlin.Function1((pl.treksoft.kvision.cordova.Screen.Orientation, kotlin.Unit)))"></a> +<code><span class="keyword">fun </span><span class="identifier">addOrientationChangeListener</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.cordova.Screen$addOrientationChangeListener(kotlin.Function1((pl.treksoft.kvision.cordova.Screen.Orientation, kotlin.Unit)))/listener">listener</span><span class="symbol">:</span> <span class="symbol">(</span><a href="-orientation/index.html"><span class="identifier">Screen.Orientation</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><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code> +<p>Add listeners for screen orientation change Cordova events.</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.cordova/-screen/get-orientation.html b/api1/pl.treksoft.kvision.cordova/-screen/get-orientation.html new file mode 100644 index 00000000..83000b74 --- /dev/null +++ b/api1/pl.treksoft.kvision.cordova/-screen/get-orientation.html @@ -0,0 +1,15 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Screen.getOrientation - 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">Screen</a> / <a href="./get-orientation.html">getOrientation</a><br/> +<br/> +<h1>getOrientation</h1> +<a name="pl.treksoft.kvision.cordova.Screen$getOrientation()"></a> +<code><span class="keyword">fun </span><span class="identifier">getOrientation</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="-orientation/index.html"><span class="identifier">Screen.Orientation</span></a></code> +<p>Get screen orientation.</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.cordova/-screen/index.html b/api1/pl.treksoft.kvision.cordova/-screen/index.html new file mode 100644 index 00000000..93280b0e --- /dev/null +++ b/api1/pl.treksoft.kvision.cordova/-screen/index.html @@ -0,0 +1,83 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Screen - 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">Screen</a><br/> +<br/> +<h1>Screen</h1> +<code><span class="keyword">object </span><span class="identifier">Screen</span></code> +<p>Main object for Cordova screen.</p> +<h3>Types</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="-orientation/index.html">Orientation</a></p> +</td> +<td> +<code><span class="keyword">enum</span> <span class="keyword">class </span><span class="identifier">Orientation</span></code> +<p>Screen orientations</p> +</td> +</tr> +</tbody> +</table> +<h3>Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="add-orientation-change-listener.html">addOrientationChangeListener</a></p> +</td> +<td> +<code><span class="keyword">fun </span><span class="identifier">addOrientationChangeListener</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.cordova.Screen$addOrientationChangeListener(kotlin.Function1((pl.treksoft.kvision.cordova.Screen.Orientation, kotlin.Unit)))/listener">listener</span><span class="symbol">:</span> <span class="symbol">(</span><a href="-orientation/index.html"><span class="identifier">Screen.Orientation</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><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code> +<p>Add listeners for screen orientation change Cordova events.</p> +</td> +</tr> +<tr> +<td> +<p><a href="get-orientation.html">getOrientation</a></p> +</td> +<td> +<code><span class="keyword">fun </span><span class="identifier">getOrientation</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="-orientation/index.html"><span class="identifier">Screen.Orientation</span></a></code> +<p>Get screen orientation.</p> +</td> +</tr> +<tr> +<td> +<p><a href="lock.html">lock</a></p> +</td> +<td> +<code><span class="keyword">fun </span><span class="identifier">lock</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.cordova.Screen$lock(pl.treksoft.kvision.cordova.Screen.Orientation)/orientation">orientation</span><span class="symbol">:</span> <a href="-orientation/index.html"><span class="identifier">Screen.Orientation</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>Lock screen orientation.</p> +</td> +</tr> +<tr> +<td> +<p><a href="unlock.html">unlock</a></p> +</td> +<td> +<code><span class="keyword">fun </span><span class="identifier">unlock</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></code> +<p>Unlock screen orientation.</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> diff --git a/api1/pl.treksoft.kvision.cordova/-screen/lock.html b/api1/pl.treksoft.kvision.cordova/-screen/lock.html new file mode 100644 index 00000000..dd7fc30b --- /dev/null +++ b/api1/pl.treksoft.kvision.cordova/-screen/lock.html @@ -0,0 +1,18 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Screen.lock - 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">Screen</a> / <a href="./lock.html">lock</a><br/> +<br/> +<h1>lock</h1> +<a name="pl.treksoft.kvision.cordova.Screen$lock(pl.treksoft.kvision.cordova.Screen.Orientation)"></a> +<code><span class="keyword">fun </span><span class="identifier">lock</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.cordova.Screen$lock(pl.treksoft.kvision.cordova.Screen.Orientation)/orientation">orientation</span><span class="symbol">:</span> <a href="-orientation/index.html"><span class="identifier">Screen.Orientation</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>Lock screen orientation.</p> +<h3>Parameters</h3> +<p><a name="orientation"></a> +<code>orientation</code> - selected orientation</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.cordova/-screen/unlock.html b/api1/pl.treksoft.kvision.cordova/-screen/unlock.html new file mode 100644 index 00000000..69f7a946 --- /dev/null +++ b/api1/pl.treksoft.kvision.cordova/-screen/unlock.html @@ -0,0 +1,15 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Screen.unlock - 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">Screen</a> / <a href="./unlock.html">unlock</a><br/> +<br/> +<h1>unlock</h1> +<a name="pl.treksoft.kvision.cordova.Screen$unlock()"></a> +<code><span class="keyword">fun </span><span class="identifier">unlock</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></code> +<p>Unlock screen orientation.</p> +</BODY> +</HTML> |