From fb7ff5b8bf2073a8d7b78011b9edffc830dc63cb Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Sat, 26 Oct 2019 00:17:24 +0200 Subject: API documentation for KVision 2.0.0 --- .../-screen/-orientation/-a-n-y.html | 14 ++++ .../-screen/-orientation/-l-a-n-d-s-c-a-p-e.html | 14 ++++ .../-l-a-n-d-s-c-a-p-e_-p-r-i-m-a-r-y.html | 14 ++++ .../-l-a-n-d-s-c-a-p-e_-s-e-c-o-n-d-a-r-y.html | 14 ++++ .../-screen/-orientation/-p-o-r-t-r-a-i-t.html | 14 ++++ .../-p-o-r-t-r-a-i-t_-p-r-i-m-a-r-y.html | 14 ++++ .../-p-o-r-t-r-a-i-t_-s-e-c-o-n-d-a-r-y.html | 14 ++++ .../-screen/-orientation/index.html | 68 ++++++++++++++++++ .../-screen/add-orientation-change-listener.html | 15 ++++ .../-screen/get-orientation.html | 15 ++++ .../pl.treksoft.kvision.cordova/-screen/index.html | 83 ++++++++++++++++++++++ api1/pl.treksoft.kvision.cordova/-screen/lock.html | 18 +++++ .../-screen/unlock.html | 15 ++++ 13 files changed, 312 insertions(+) create mode 100644 api1/pl.treksoft.kvision.cordova/-screen/-orientation/-a-n-y.html create mode 100644 api1/pl.treksoft.kvision.cordova/-screen/-orientation/-l-a-n-d-s-c-a-p-e.html create mode 100644 api1/pl.treksoft.kvision.cordova/-screen/-orientation/-l-a-n-d-s-c-a-p-e_-p-r-i-m-a-r-y.html create mode 100644 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 create mode 100644 api1/pl.treksoft.kvision.cordova/-screen/-orientation/-p-o-r-t-r-a-i-t.html create mode 100644 api1/pl.treksoft.kvision.cordova/-screen/-orientation/-p-o-r-t-r-a-i-t_-p-r-i-m-a-r-y.html create mode 100644 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 create mode 100644 api1/pl.treksoft.kvision.cordova/-screen/-orientation/index.html create mode 100644 api1/pl.treksoft.kvision.cordova/-screen/add-orientation-change-listener.html create mode 100644 api1/pl.treksoft.kvision.cordova/-screen/get-orientation.html create mode 100644 api1/pl.treksoft.kvision.cordova/-screen/index.html create mode 100644 api1/pl.treksoft.kvision.cordova/-screen/lock.html create mode 100644 api1/pl.treksoft.kvision.cordova/-screen/unlock.html (limited to 'api1/pl.treksoft.kvision.cordova/-screen') 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 @@ + + + +Screen.Orientation.ANY - kvision + + + +kvision / pl.treksoft.kvision.cordova / Screen / Orientation / ANY
+
+

ANY

+ +ANY + + 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 @@ + + + +Screen.Orientation.LANDSCAPE - kvision + + + +kvision / pl.treksoft.kvision.cordova / Screen / Orientation / LANDSCAPE
+
+

LANDSCAPE

+ +LANDSCAPE + + 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 @@ + + + +Screen.Orientation.LANDSCAPE_PRIMARY - kvision + + + +kvision / pl.treksoft.kvision.cordova / Screen / Orientation / LANDSCAPE_PRIMARY
+
+

LANDSCAPE_PRIMARY

+ +LANDSCAPE_PRIMARY + + 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 @@ + + + +Screen.Orientation.LANDSCAPE_SECONDARY - kvision + + + +kvision / pl.treksoft.kvision.cordova / Screen / Orientation / LANDSCAPE_SECONDARY
+
+

LANDSCAPE_SECONDARY

+ +LANDSCAPE_SECONDARY + + 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 @@ + + + +Screen.Orientation.PORTRAIT - kvision + + + +kvision / pl.treksoft.kvision.cordova / Screen / Orientation / PORTRAIT
+
+

PORTRAIT

+ +PORTRAIT + + 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 @@ + + + +Screen.Orientation.PORTRAIT_PRIMARY - kvision + + + +kvision / pl.treksoft.kvision.cordova / Screen / Orientation / PORTRAIT_PRIMARY
+
+

PORTRAIT_PRIMARY

+ +PORTRAIT_PRIMARY + + 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 @@ + + + +Screen.Orientation.PORTRAIT_SECONDARY - kvision + + + +kvision / pl.treksoft.kvision.cordova / Screen / Orientation / PORTRAIT_SECONDARY
+
+

PORTRAIT_SECONDARY

+ +PORTRAIT_SECONDARY + + 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 @@ + + + +Screen.Orientation - kvision + + + +kvision / pl.treksoft.kvision.cordova / Screen / Orientation
+
+

Orientation

+enum class Orientation +

Screen orientations

+

Enum Values

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

PORTRAIT_PRIMARY

+
+
+

PORTRAIT_SECONDARY

+
+
+

LANDSCAPE_PRIMARY

+
+
+

LANDSCAPE_SECONDARY

+
+
+

PORTRAIT

+
+
+

LANDSCAPE

+
+
+

ANY

+
+
+ + 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 @@ + + + +Screen.addOrientationChangeListener - kvision + + + +kvision / pl.treksoft.kvision.cordova / Screen / addOrientationChangeListener
+
+

addOrientationChangeListener

+ +fun addOrientationChangeListener(listener: (Screen.Orientation) -> Unit): Unit +

Add listeners for screen orientation change Cordova events.

+ + 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 @@ + + + +Screen.getOrientation - kvision + + + +kvision / pl.treksoft.kvision.cordova / Screen / getOrientation
+
+

getOrientation

+ +fun getOrientation(): Screen.Orientation +

Get screen orientation.

+ + 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 @@ + + + +Screen - kvision + + + +kvision / pl.treksoft.kvision.cordova / Screen
+
+

Screen

+object Screen +

Main object for Cordova screen.

+

Types

+ + + + + + + +
+

Orientation

+
+enum class Orientation +

Screen orientations

+
+

Functions

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

addOrientationChangeListener

+
+fun addOrientationChangeListener(listener: (Screen.Orientation) -> Unit): Unit +

Add listeners for screen orientation change Cordova events.

+
+

getOrientation

+
+fun getOrientation(): Screen.Orientation +

Get screen orientation.

+
+

lock

+
+fun lock(orientation: Screen.Orientation): Unit +

Lock screen orientation.

+
+

unlock

+
+fun unlock(): Unit +

Unlock screen orientation.

+
+

Extension Functions

+ + + + + + + +
+

createInstance

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

Helper function for creating JavaScript objects from dynamic constructors.

+
+ + 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 @@ + + + +Screen.lock - kvision + + + +kvision / pl.treksoft.kvision.cordova / Screen / lock
+
+

lock

+ +fun lock(orientation: Screen.Orientation): Unit +

Lock screen orientation.

+

Parameters

+

+orientation - selected orientation

+ + 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 @@ + + + +Screen.unlock - kvision + + + +kvision / pl.treksoft.kvision.cordova / Screen / unlock
+
+

unlock

+ +fun unlock(): Unit +

Unlock screen orientation.

+ + -- cgit