From 0365722f8549ee93918be99da1b9f901cf0b2c8d Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Fri, 13 Mar 2020 01:05:20 +0100 Subject: API documentation for KVision 3.5.2 --- .../-download-item/index.html | 188 ++++++--------------- 1 file changed, 49 insertions(+), 139 deletions(-) (limited to 'api/pl.treksoft.kvision.electron/-download-item/index.html') diff --git a/api/pl.treksoft.kvision.electron/-download-item/index.html b/api/pl.treksoft.kvision.electron/-download-item/index.html index 9082c3cf..b080f69c 100644 --- a/api/pl.treksoft.kvision.electron/-download-item/index.html +++ b/api/pl.treksoft.kvision.electron/-download-item/index.html @@ -8,13 +8,14 @@ kvision / pl.treksoft.kvision.electron / DownloadItem

DownloadItem

-open external class DownloadItem : EventEmitter +(js) open class DownloadItem : EventEmitter

Constructors

@@ -26,280 +27,189 @@
-

<init>

+(js) +

<init>

DownloadItem()
-

addListener

+(js) +

addListener

-open fun addListener(event: String, listener: (event: Event, dynamic) -> Unit): DownloadItem
open fun addListener(event: String, listener: (event: Event, dynamic) -> Unit): DownloadItem
-

cancel

+(js) +

cancel

open fun cancel(): Unit
-

canResume

+(js) +

canResume

open fun canResume(): Boolean
-

getContentDisposition

+(js) +

getContentDisposition

open fun getContentDisposition(): String
-

getETag

+(js) +

getETag

open fun getETag(): String
-

getFilename

+(js) +

getFilename

open fun getFilename(): String
-

getLastModifiedTime

+(js) +

getLastModifiedTime

open fun getLastModifiedTime(): String
-

getMimeType

+(js) +

getMimeType

open fun getMimeType(): String
-

getReceivedBytes

+(js) +

getReceivedBytes

open fun getReceivedBytes(): Number
-

getSavePath

+(js) +

getSavePath

open fun getSavePath(): String
-

getStartTime

+(js) +

getStartTime

open fun getStartTime(): Number
-

getState

+(js) +

getState

open fun getState(): dynamic
-

getTotalBytes

+(js) +

getTotalBytes

open fun getTotalBytes(): Number
-

getURL

+(js) +

getURL

open fun getURL(): String
-

getURLChain

+(js) +

getURLChain

open fun getURLChain(): Array<String>
-

hasUserGesture

+(js) +

hasUserGesture

open fun hasUserGesture(): Boolean
-

isPaused

+(js) +

isPaused

open fun isPaused(): Boolean
-

on

+(js) +

on

-open fun on(event: String, listener: (event: Event, dynamic) -> Unit): DownloadItem
open fun on(event: String, listener: (event: Event, dynamic) -> Unit): DownloadItem
-

once

+(js) +

once

-open fun once(event: String, listener: (event: Event, dynamic) -> Unit): DownloadItem
open fun once(event: String, listener: (event: Event, dynamic) -> Unit): DownloadItem
-

pause

+(js) +

pause

open fun pause(): Unit
-

removeListener

+(js) +

removeListener

-open fun removeListener(event: String, listener: (event: Event, dynamic) -> Unit): DownloadItem
open fun removeListener(event: String, listener: (event: Event, dynamic) -> Unit): DownloadItem
-

resume

+(js) +

resume

open fun resume(): Unit
-

setSavePath

+(js) +

setSavePath

open fun setSavePath(path: String): Unit
-

Inherited Functions

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-

addListener

-
-open fun addListener(event: String, listener: Function<*>): EventEmitter
-

emit

-
-open fun emit(event: String, vararg args: Any): Boolean
-

eventNames

-
-open fun eventNames(): Array<String>
-

getMaxListeners

-
-open fun getMaxListeners(): Number
-

listenerCount

-
-open fun listenerCount(type: String): Number
-

listeners

-
-open fun listeners(event: String): Array<Function<*>>
-

on

-
-open fun on(event: String, listener: Function<*>): EventEmitter
-

once

-
-open fun once(event: String, listener: Function<*>): EventEmitter
-

prependListener

-
-open fun prependListener(event: String, listener: Function<*>): EventEmitter
-

prependOnceListener

-
-open fun prependOnceListener(event: String, listener: Function<*>): EventEmitter
-

removeAllListeners

-
-open fun removeAllListeners(event: String? = definedExternally): EventEmitter
-

removeListener

-
-open fun removeListener(event: String, listener: Function<*>): EventEmitter
-

setMaxListeners

-
-open fun setMaxListeners(n: Number): EventEmitter
-

Extension Functions

- - - - - - - -
-

createInstance

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

Helper function for creating JavaScript objects from dynamic constructors.

-
-- cgit