aboutsummaryrefslogtreecommitdiff
path: root/api1/pl.treksoft.kvision.cordova/-battery
diff options
context:
space:
mode:
Diffstat (limited to 'api1/pl.treksoft.kvision.cordova/-battery')
-rw-r--r--api1/pl.treksoft.kvision.cordova/-battery/-battery-event/-b-a-t-t-e-r-y_-c-r-i-t-i-c-a-l.html14
-rw-r--r--api1/pl.treksoft.kvision.cordova/-battery/-battery-event/-b-a-t-t-e-r-y_-l-o-w.html14
-rw-r--r--api1/pl.treksoft.kvision.cordova/-battery/-battery-event/-b-a-t-t-e-r-y_-s-t-a-t-u-s.html14
-rw-r--r--api1/pl.treksoft.kvision.cordova/-battery/-battery-event/index.html40
-rw-r--r--api1/pl.treksoft.kvision.cordova/-battery/add-status-listener.html15
-rw-r--r--api1/pl.treksoft.kvision.cordova/-battery/get-status.html15
-rw-r--r--api1/pl.treksoft.kvision.cordova/-battery/index.html65
7 files changed, 177 insertions, 0 deletions
diff --git a/api1/pl.treksoft.kvision.cordova/-battery/-battery-event/-b-a-t-t-e-r-y_-c-r-i-t-i-c-a-l.html b/api1/pl.treksoft.kvision.cordova/-battery/-battery-event/-b-a-t-t-e-r-y_-c-r-i-t-i-c-a-l.html
new file mode 100644
index 00000000..94caa4ef
--- /dev/null
+++ b/api1/pl.treksoft.kvision.cordova/-battery/-battery-event/-b-a-t-t-e-r-y_-c-r-i-t-i-c-a-l.html
@@ -0,0 +1,14 @@
+<HTML>
+<HEAD>
+<meta charset="UTF-8">
+<title>Battery.BatteryEvent.BATTERY_CRITICAL - kvision</title>
+<link rel="stylesheet" href="../../../../style.css">
+</HEAD>
+<BODY>
+<a href="../../../index.html">kvision</a>&nbsp;/&nbsp;<a href="../../index.html">pl.treksoft.kvision.cordova</a>&nbsp;/&nbsp;<a href="../index.html">Battery</a>&nbsp;/&nbsp;<a href="index.html">BatteryEvent</a>&nbsp;/&nbsp;<a href="./-b-a-t-t-e-r-y_-c-r-i-t-i-c-a-l.html">BATTERY_CRITICAL</a><br/>
+<br/>
+<h1>BATTERY_CRITICAL</h1>
+<a name="pl.treksoft.kvision.cordova.Battery.BatteryEvent.BATTERY_CRITICAL"></a>
+<code><span class="identifier">BATTERY_CRITICAL</span></code>
+</BODY>
+</HTML>
diff --git a/api1/pl.treksoft.kvision.cordova/-battery/-battery-event/-b-a-t-t-e-r-y_-l-o-w.html b/api1/pl.treksoft.kvision.cordova/-battery/-battery-event/-b-a-t-t-e-r-y_-l-o-w.html
new file mode 100644
index 00000000..bce738d3
--- /dev/null
+++ b/api1/pl.treksoft.kvision.cordova/-battery/-battery-event/-b-a-t-t-e-r-y_-l-o-w.html
@@ -0,0 +1,14 @@
+<HTML>
+<HEAD>
+<meta charset="UTF-8">
+<title>Battery.BatteryEvent.BATTERY_LOW - kvision</title>
+<link rel="stylesheet" href="../../../../style.css">
+</HEAD>
+<BODY>
+<a href="../../../index.html">kvision</a>&nbsp;/&nbsp;<a href="../../index.html">pl.treksoft.kvision.cordova</a>&nbsp;/&nbsp;<a href="../index.html">Battery</a>&nbsp;/&nbsp;<a href="index.html">BatteryEvent</a>&nbsp;/&nbsp;<a href="./-b-a-t-t-e-r-y_-l-o-w.html">BATTERY_LOW</a><br/>
+<br/>
+<h1>BATTERY_LOW</h1>
+<a name="pl.treksoft.kvision.cordova.Battery.BatteryEvent.BATTERY_LOW"></a>
+<code><span class="identifier">BATTERY_LOW</span></code>
+</BODY>
+</HTML>
diff --git a/api1/pl.treksoft.kvision.cordova/-battery/-battery-event/-b-a-t-t-e-r-y_-s-t-a-t-u-s.html b/api1/pl.treksoft.kvision.cordova/-battery/-battery-event/-b-a-t-t-e-r-y_-s-t-a-t-u-s.html
new file mode 100644
index 00000000..9f28a1ac
--- /dev/null
+++ b/api1/pl.treksoft.kvision.cordova/-battery/-battery-event/-b-a-t-t-e-r-y_-s-t-a-t-u-s.html
@@ -0,0 +1,14 @@
+<HTML>
+<HEAD>
+<meta charset="UTF-8">
+<title>Battery.BatteryEvent.BATTERY_STATUS - kvision</title>
+<link rel="stylesheet" href="../../../../style.css">
+</HEAD>
+<BODY>
+<a href="../../../index.html">kvision</a>&nbsp;/&nbsp;<a href="../../index.html">pl.treksoft.kvision.cordova</a>&nbsp;/&nbsp;<a href="../index.html">Battery</a>&nbsp;/&nbsp;<a href="index.html">BatteryEvent</a>&nbsp;/&nbsp;<a href="./-b-a-t-t-e-r-y_-s-t-a-t-u-s.html">BATTERY_STATUS</a><br/>
+<br/>
+<h1>BATTERY_STATUS</h1>
+<a name="pl.treksoft.kvision.cordova.Battery.BatteryEvent.BATTERY_STATUS"></a>
+<code><span class="identifier">BATTERY_STATUS</span></code>
+</BODY>
+</HTML>
diff --git a/api1/pl.treksoft.kvision.cordova/-battery/-battery-event/index.html b/api1/pl.treksoft.kvision.cordova/-battery/-battery-event/index.html
new file mode 100644
index 00000000..c82827ac
--- /dev/null
+++ b/api1/pl.treksoft.kvision.cordova/-battery/-battery-event/index.html
@@ -0,0 +1,40 @@
+<HTML>
+<HEAD>
+<meta charset="UTF-8">
+<title>Battery.BatteryEvent - kvision</title>
+<link rel="stylesheet" href="../../../../style.css">
+</HEAD>
+<BODY>
+<a href="../../../index.html">kvision</a>&nbsp;/&nbsp;<a href="../../index.html">pl.treksoft.kvision.cordova</a>&nbsp;/&nbsp;<a href="../index.html">Battery</a>&nbsp;/&nbsp;<a href="./index.html">BatteryEvent</a><br/>
+<br/>
+<h1>BatteryEvent</h1>
+<code><span class="keyword">enum</span> <span class="keyword">class </span><span class="identifier">BatteryEvent</span></code>
+<p>Battery status event types.</p>
+<h3>Enum Values</h3>
+<table>
+<tbody>
+<tr>
+<td>
+<p><a href="-b-a-t-t-e-r-y_-s-t-a-t-u-s.html">BATTERY_STATUS</a></p>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<p><a href="-b-a-t-t-e-r-y_-l-o-w.html">BATTERY_LOW</a></p>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<p><a href="-b-a-t-t-e-r-y_-c-r-i-t-i-c-a-l.html">BATTERY_CRITICAL</a></p>
+</td>
+<td>
+</td>
+</tr>
+</tbody>
+</table>
+</BODY>
+</HTML>
diff --git a/api1/pl.treksoft.kvision.cordova/-battery/add-status-listener.html b/api1/pl.treksoft.kvision.cordova/-battery/add-status-listener.html
new file mode 100644
index 00000000..5084a3ec
--- /dev/null
+++ b/api1/pl.treksoft.kvision.cordova/-battery/add-status-listener.html
@@ -0,0 +1,15 @@
+<HTML>
+<HEAD>
+<meta charset="UTF-8">
+<title>Battery.addStatusListener - kvision</title>
+<link rel="stylesheet" href="../../../style.css">
+</HEAD>
+<BODY>
+<a href="../../index.html">kvision</a>&nbsp;/&nbsp;<a href="../index.html">pl.treksoft.kvision.cordova</a>&nbsp;/&nbsp;<a href="index.html">Battery</a>&nbsp;/&nbsp;<a href="./add-status-listener.html">addStatusListener</a><br/>
+<br/>
+<h1>addStatusListener</h1>
+<a name="pl.treksoft.kvision.cordova.Battery$addStatusListener(pl.treksoft.kvision.cordova.Battery.BatteryEvent, kotlin.Function1((pl.treksoft.kvision.cordova.BatteryStatus, 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.Battery$addStatusListener(pl.treksoft.kvision.cordova.Battery.BatteryEvent, kotlin.Function1((pl.treksoft.kvision.cordova.BatteryStatus, kotlin.Unit)))/event">event</span><span class="symbol">:</span>&nbsp;<a href="-battery-event/index.html"><span class="identifier">Battery.BatteryEvent</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.cordova.Battery$addStatusListener(pl.treksoft.kvision.cordova.Battery.BatteryEvent, kotlin.Function1((pl.treksoft.kvision.cordova.BatteryStatus, kotlin.Unit)))/listener">listener</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><a href="../-battery-status/index.html"><span class="identifier">BatteryStatus</span></a><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<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 battery status Cordova events.</p>
+</BODY>
+</HTML>
diff --git a/api1/pl.treksoft.kvision.cordova/-battery/get-status.html b/api1/pl.treksoft.kvision.cordova/-battery/get-status.html
new file mode 100644
index 00000000..1cd51517
--- /dev/null
+++ b/api1/pl.treksoft.kvision.cordova/-battery/get-status.html
@@ -0,0 +1,15 @@
+<HTML>
+<HEAD>
+<meta charset="UTF-8">
+<title>Battery.getStatus - kvision</title>
+<link rel="stylesheet" href="../../../style.css">
+</HEAD>
+<BODY>
+<a href="../../index.html">kvision</a>&nbsp;/&nbsp;<a href="../index.html">pl.treksoft.kvision.cordova</a>&nbsp;/&nbsp;<a href="index.html">Battery</a>&nbsp;/&nbsp;<a href="./get-status.html">getStatus</a><br/>
+<br/>
+<h1>getStatus</h1>
+<a name="pl.treksoft.kvision.cordova.Battery$getStatus()"></a>
+<code><span class="keyword">suspend</span> <span class="keyword">fun </span><span class="identifier">getStatus</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="../-battery-status/index.html"><span class="identifier">BatteryStatus</span></a></code>
+<p>Get battery status.</p>
+</BODY>
+</HTML>
diff --git a/api1/pl.treksoft.kvision.cordova/-battery/index.html b/api1/pl.treksoft.kvision.cordova/-battery/index.html
new file mode 100644
index 00000000..3df54e40
--- /dev/null
+++ b/api1/pl.treksoft.kvision.cordova/-battery/index.html
@@ -0,0 +1,65 @@
+<HTML>
+<HEAD>
+<meta charset="UTF-8">
+<title>Battery - kvision</title>
+<link rel="stylesheet" href="../../../style.css">
+</HEAD>
+<BODY>
+<a href="../../index.html">kvision</a>&nbsp;/&nbsp;<a href="../index.html">pl.treksoft.kvision.cordova</a>&nbsp;/&nbsp;<a href="./index.html">Battery</a><br/>
+<br/>
+<h1>Battery</h1>
+<code><span class="keyword">object </span><span class="identifier">Battery</span></code>
+<p>Main object for Cordova battery.</p>
+<h3>Types</h3>
+<table>
+<tbody>
+<tr>
+<td>
+<p><a href="-battery-event/index.html">BatteryEvent</a></p>
+</td>
+<td>
+<code><span class="keyword">enum</span> <span class="keyword">class </span><span class="identifier">BatteryEvent</span></code>
+<p>Battery status event types.</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.Battery$addStatusListener(pl.treksoft.kvision.cordova.Battery.BatteryEvent, kotlin.Function1((pl.treksoft.kvision.cordova.BatteryStatus, kotlin.Unit)))/event">event</span><span class="symbol">:</span>&nbsp;<a href="-battery-event/index.html"><span class="identifier">Battery.BatteryEvent</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.cordova.Battery$addStatusListener(pl.treksoft.kvision.cordova.Battery.BatteryEvent, kotlin.Function1((pl.treksoft.kvision.cordova.BatteryStatus, kotlin.Unit)))/listener">listener</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><a href="../-battery-status/index.html"><span class="identifier">BatteryStatus</span></a><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<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 battery status Cordova events.</p>
+</td>
+</tr>
+<tr>
+<td>
+<p><a href="get-status.html">getStatus</a></p>
+</td>
+<td>
+<code><span class="keyword">suspend</span> <span class="keyword">fun </span><span class="identifier">getStatus</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="../-battery-status/index.html"><span class="identifier">BatteryStatus</span></a></code>
+<p>Get battery status.</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">&lt;</span><span class="identifier">T</span><span class="symbol">&gt;</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>&nbsp;<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>