From bc2152266d0aa8b749d5202d54f9e7c4a5db5b5b Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Sun, 23 Jun 2019 14:12:10 +0200 Subject: API documentation for KVision 0.0.37 --- .../-b-a-t-t-e-r-y_-c-r-i-t-i-c-a-l.html | 14 +++++ .../-battery-event/-b-a-t-t-e-r-y_-l-o-w.html | 14 +++++ .../-b-a-t-t-e-r-y_-s-t-a-t-u-s.html | 14 +++++ .../-battery/-battery-event/index.html | 40 +++++++++++++ .../-battery/add-status-listener.html | 15 +++++ .../-battery/get-status.html | 15 +++++ .../-battery/index.html | 65 ++++++++++++++++++++++ 7 files changed, 177 insertions(+) create mode 100644 api/pl.treksoft.kvision.cordova/-battery/-battery-event/-b-a-t-t-e-r-y_-c-r-i-t-i-c-a-l.html create mode 100644 api/pl.treksoft.kvision.cordova/-battery/-battery-event/-b-a-t-t-e-r-y_-l-o-w.html create mode 100644 api/pl.treksoft.kvision.cordova/-battery/-battery-event/-b-a-t-t-e-r-y_-s-t-a-t-u-s.html create mode 100644 api/pl.treksoft.kvision.cordova/-battery/-battery-event/index.html create mode 100644 api/pl.treksoft.kvision.cordova/-battery/add-status-listener.html create mode 100644 api/pl.treksoft.kvision.cordova/-battery/get-status.html create mode 100644 api/pl.treksoft.kvision.cordova/-battery/index.html (limited to 'api/pl.treksoft.kvision.cordova/-battery') diff --git a/api/pl.treksoft.kvision.cordova/-battery/-battery-event/-b-a-t-t-e-r-y_-c-r-i-t-i-c-a-l.html b/api/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/api/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 @@ + + + +Battery.BatteryEvent.BATTERY_CRITICAL - kvision + + + +kvision / pl.treksoft.kvision.cordova / Battery / BatteryEvent / BATTERY_CRITICAL
+
+

BATTERY_CRITICAL

+ +BATTERY_CRITICAL + + diff --git a/api/pl.treksoft.kvision.cordova/-battery/-battery-event/-b-a-t-t-e-r-y_-l-o-w.html b/api/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/api/pl.treksoft.kvision.cordova/-battery/-battery-event/-b-a-t-t-e-r-y_-l-o-w.html @@ -0,0 +1,14 @@ + + + +Battery.BatteryEvent.BATTERY_LOW - kvision + + + +kvision / pl.treksoft.kvision.cordova / Battery / BatteryEvent / BATTERY_LOW
+
+

BATTERY_LOW

+ +BATTERY_LOW + + diff --git a/api/pl.treksoft.kvision.cordova/-battery/-battery-event/-b-a-t-t-e-r-y_-s-t-a-t-u-s.html b/api/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/api/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 @@ + + + +Battery.BatteryEvent.BATTERY_STATUS - kvision + + + +kvision / pl.treksoft.kvision.cordova / Battery / BatteryEvent / BATTERY_STATUS
+
+

BATTERY_STATUS

+ +BATTERY_STATUS + + diff --git a/api/pl.treksoft.kvision.cordova/-battery/-battery-event/index.html b/api/pl.treksoft.kvision.cordova/-battery/-battery-event/index.html new file mode 100644 index 00000000..c82827ac --- /dev/null +++ b/api/pl.treksoft.kvision.cordova/-battery/-battery-event/index.html @@ -0,0 +1,40 @@ + + + +Battery.BatteryEvent - kvision + + + +kvision / pl.treksoft.kvision.cordova / Battery / BatteryEvent
+
+

BatteryEvent

+enum class BatteryEvent +

Battery status event types.

+

Enum Values

+ + + + + + + + + + + + + + + +
+

BATTERY_STATUS

+
+
+

BATTERY_LOW

+
+
+

BATTERY_CRITICAL

+
+
+ + diff --git a/api/pl.treksoft.kvision.cordova/-battery/add-status-listener.html b/api/pl.treksoft.kvision.cordova/-battery/add-status-listener.html new file mode 100644 index 00000000..5084a3ec --- /dev/null +++ b/api/pl.treksoft.kvision.cordova/-battery/add-status-listener.html @@ -0,0 +1,15 @@ + + + +Battery.addStatusListener - kvision + + + +kvision / pl.treksoft.kvision.cordova / Battery / addStatusListener
+
+

addStatusListener

+ +fun addStatusListener(event: Battery.BatteryEvent, listener: (BatteryStatus) -> Unit): Unit +

Add listeners for battery status Cordova events.

+ + diff --git a/api/pl.treksoft.kvision.cordova/-battery/get-status.html b/api/pl.treksoft.kvision.cordova/-battery/get-status.html new file mode 100644 index 00000000..1cd51517 --- /dev/null +++ b/api/pl.treksoft.kvision.cordova/-battery/get-status.html @@ -0,0 +1,15 @@ + + + +Battery.getStatus - kvision + + + +kvision / pl.treksoft.kvision.cordova / Battery / getStatus
+
+

getStatus

+ +suspend fun getStatus(): BatteryStatus +

Get battery status.

+ + diff --git a/api/pl.treksoft.kvision.cordova/-battery/index.html b/api/pl.treksoft.kvision.cordova/-battery/index.html new file mode 100644 index 00000000..3df54e40 --- /dev/null +++ b/api/pl.treksoft.kvision.cordova/-battery/index.html @@ -0,0 +1,65 @@ + + + +Battery - kvision + + + +kvision / pl.treksoft.kvision.cordova / Battery
+
+

Battery

+object Battery +

Main object for Cordova battery.

+

Types

+ + + + + + + +
+

BatteryEvent

+
+enum class BatteryEvent +

Battery status event types.

+
+

Functions

+ + + + + + + + + + + +
+

addStatusListener

+
+fun addStatusListener(event: Battery.BatteryEvent, listener: (BatteryStatus) -> Unit): Unit +

Add listeners for battery status Cordova events.

+
+

getStatus

+
+suspend fun getStatus(): BatteryStatus +

Get battery status.

+
+

Extension Functions

+ + + + + + + +
+

createInstance

+
+fun <T> Any?.createInstance(vararg args: dynamic): T +

Helper function for creating JavaScript objects from dynamic constructors.

+
+ + -- cgit