addListener
|
abstract fun addListener(event: String, listener: (event: Event, accessibilitySupportEnabled: Boolean) -> Unit): App
abstract fun addListener(event: String, listener: (event: Event, hasVisibleWindows: Boolean) -> Unit): App
abstract fun addListener(event: String, listener: (event: Event, type: String, userInfo: Any) -> Unit): App
abstract fun addListener(event: String, listener: (event: Event) -> Unit): App
abstract fun addListener(event: String, listener: (event: Event, window: BrowserWindow) -> Unit): App
abstract fun addListener(event: String, listener: (event: Event, window: BrowserWindow) -> Unit): App
abstract fun addListener(event: String, listener: (event: Event, window: BrowserWindow) -> Unit): App
abstract fun addListener(event: String, listener: (event: Event, webContents: WebContents, url: String, error: String, certificate: Certificate, callback: (isTrusted: Boolean) -> Unit) -> Unit): App
abstract fun addListener(event: String, listener: (event: Event, type: String, userInfo: Any) -> Unit): App
abstract fun addListener(event: String, listener: (event: Event, type: String, error: String) -> Unit): App
abstract fun addListener(event: String, listener: (event: Event, killed: Boolean) -> Unit): App
abstract fun addListener(event: String, listener: (event: Event, webContents: WebContents, request: Request, authInfo: AuthInfo, callback: (username: String, password: String) -> Unit) -> Unit): App
abstract fun addListener(event: String, listener: (event: Event) -> Unit): App
abstract fun addListener(event: String, listener: (event: Event, path: String) -> Unit): App
abstract fun addListener(event: String, listener: (event: Event, url: String) -> Unit): App
abstract fun addListener(event: String, listener: (event: Event, exitCode: Number) -> Unit): App
abstract fun addListener(event: String, listener: (launchInfo: Any) -> Unit): App
abstract fun addListener(event: String, listener: (event: Event, webContents: WebContents, url: String, certificateList: Array<Certificate>, callback: (certificate: Certificate?) -> Unit) -> Unit): App
abstract fun addListener(event: String, listener: (event: Event, type: String, userInfo: Any) -> Unit): App
abstract fun addListener(event: String, listener: (event: Event, webContents: WebContents) -> Unit): App
abstract fun addListener(event: String, listener: (event: Event, type: String) -> Unit): App
abstract fun addListener(event: String, listener: Function<*>): App
abstract fun addListener(event: String, listener: (event: Event) -> Unit): App
abstract fun addListener(event: String, listener: Function<*>): App |
addRecentDocument
|
abstract fun addRecentDocument(path: String): Unit |
clearRecentDocuments
|
abstract fun clearRecentDocuments(): Unit |
disableDomainBlockingFor3DAPIs
|
abstract fun disableDomainBlockingFor3DAPIs(): Unit |
disableHardwareAcceleration
|
abstract fun disableHardwareAcceleration(): Unit |
enableMixedSandbox
|
abstract fun enableMixedSandbox(): Unit |
exit
|
abstract fun exit(exitCode: Number? = definedExternally): Unit |
focus
|
abstract fun focus(): Unit |
getAppMetrics
|
abstract fun getAppMetrics(): Array<ProcessMetric> |
getAppPath
|
abstract fun getAppPath(): String |
getBadgeCount
|
abstract fun getBadgeCount(): Number |
getCurrentActivityType
|
abstract fun getCurrentActivityType(): String |
getFileIcon
|
abstract fun getFileIcon(path: String, callback: (Error, icon: NativeImage) -> Unit): Unit
abstract fun getFileIcon(path: String, options: FileIconOptions, callback: (Error, icon: NativeImage) -> Unit): Unit |
getGPUFeatureStatus
|
abstract fun getGPUFeatureStatus(): GPUFeatureStatus |
getJumpListSettings
|
abstract fun getJumpListSettings(): JumpListSettings |
getLocale
|
abstract fun getLocale(): String |
getLoginItemSettings
|
abstract fun getLoginItemSettings(options: LoginItemSettingsOptions? = definedExternally): LoginItemSettings |
getName
|
abstract fun getName(): String |
getPath
|
abstract fun getPath(name: String): String |
getVersion
|
abstract fun getVersion(): String |
hide
|
abstract fun hide(): Unit |
importCertificate
|
abstract fun importCertificate(options: ImportCertificateOptions, callback: (result: Number) -> Unit): Unit |
invalidateCurrentActivity
|
abstract fun invalidateCurrentActivity(type: String): Unit |
isAccessibilitySupportEnabled
|
abstract fun isAccessibilitySupportEnabled(): Boolean |
isDefaultProtocolClient
|
abstract fun isDefaultProtocolClient(protocol: String, path: String? = definedExternally, args: Array<String>? = definedExternally): Boolean |
isInApplicationsFolder
|
abstract fun isInApplicationsFolder(): Boolean |
isReady
|
abstract fun isReady(): Boolean |
isUnityRunning
|
abstract fun isUnityRunning(): Boolean |
makeSingleInstance
|
abstract fun makeSingleInstance(callback: (argv: Array<String>, workingDirectory: String) -> Unit): Boolean |
moveToApplicationsFolder
|
abstract fun moveToApplicationsFolder(): Boolean |
on
|
abstract fun on(event: String, listener: (event: Event, accessibilitySupportEnabled: Boolean) -> Unit): App
abstract fun on(event: String, listener: (event: Event, hasVisibleWindows: Boolean) -> Unit): App
abstract fun on(event: String, listener: (event: Event, type: String, userInfo: Any) -> Unit): App
abstract fun on(event: String, listener: (event: Event) -> Unit): App
abstract fun on(event: String, listener: (event: Event, window: BrowserWindow) -> Unit): App
abstract fun on(event: String, listener: (event: Event, window: BrowserWindow) -> Unit): App
abstract fun on(event: String, listener: (event: Event, window: BrowserWindow) -> Unit): App
abstract fun on(event: String, listener: (event: Event, webContents: WebContents, url: String, error: String, certificate: Certificate, callback: (isTrusted: Boolean) -> Unit) -> Unit): App
abstract fun on(event: String, listener: (event: Event, type: String, userInfo: Any) -> Unit): App
abstract fun on(event: String, listener: (event: Event, type: String, error: String) -> Unit): App
abstract fun on(event: String, listener: (event: Event, killed: Boolean) -> Unit): App
abstract fun on(event: String, listener: (event: Event, webContents: WebContents, request: Request, authInfo: AuthInfo, callback: (username: String, password: String) -> Unit) -> Unit): App
abstract fun on(event: String, listener: (event: Event) -> Unit): App
abstract fun on(event: String, listener: (event: Event, path: String) -> Unit): App
abstract fun on(event: String, listener: (event: Event, url: String) -> Unit): App
abstract fun on(event: String, listener: (event: Event, exitCode: Number) -> Unit): App
abstract fun on(event: String, listener: (launchInfo: Any) -> Unit): App
abstract fun on(event: String, listener: (event: Event, webContents: WebContents, url: String, certificateList: Array<Certificate>, callback: (certificate: Certificate?) -> Unit) -> Unit): App
abstract fun on(event: String, listener: (event: Event, type: String, userInfo: Any) -> Unit): App
abstract fun on(event: String, listener: (event: Event, webContents: WebContents) -> Unit): App
abstract fun on(event: String, listener: (event: Event, type: String) -> Unit): App
abstract fun on(event: String, listener: Function<*>): App
abstract fun on(event: String, listener: (event: Event) -> Unit): App
abstract fun on(event: String, listener: Function<*>): App |
once
|
abstract fun once(event: String, listener: (event: Event, accessibilitySupportEnabled: Boolean) -> Unit): App
abstract fun once(event: String, listener: (event: Event, hasVisibleWindows: Boolean) -> Unit): App
abstract fun once(event: String, listener: (event: Event, type: String, userInfo: Any) -> Unit): App
abstract fun once(event: String, listener: (event: Event) -> Unit): App
abstract fun once(event: String, listener: (event: Event, window: BrowserWindow) -> Unit): App
abstract fun once(event: String, listener: (event: Event, window: BrowserWindow) -> Unit): App
abstract fun once(event: String, listener: (event: Event, window: BrowserWindow) -> Unit): App
abstract fun once(event: String, listener: (event: Event, webContents: WebContents, url: String, error: String, certificate: Certificate, callback: (isTrusted: Boolean) -> Unit) -> Unit): App
abstract fun once(event: String, listener: (event: Event, type: String, userInfo: Any) -> Unit): App
abstract fun once(event: String, listener: (event: Event, type: String, error: String) -> Unit): App
abstract fun once(event: String, listener: (event: Event, killed: Boolean) -> Unit): App
abstract fun once(event: String, listener: (event: Event, webContents: WebContents, request: Request, authInfo: AuthInfo, callback: (username: String, password: String) -> Unit) -> Unit): App
abstract fun once(event: String, listener: (event: Event) -> Unit): App
abstract fun once(event: String, listener: (event: Event, path: String) -> Unit): App
abstract fun once(event: String, listener: (event: Event, url: String) -> Unit): App
abstract fun once(event: String, listener: (event: Event, exitCode: Number) -> Unit): App
abstract fun once(event: String, listener: (launchInfo: Any) -> Unit): App
abstract fun once(event: String, listener: (event: Event, webContents: WebContents, url: String, certificateList: Array<Certificate>, callback: (certificate: Certificate?) -> Unit) -> Unit): App
abstract fun once(event: String, listener: (event: Event, type: String, userInfo: Any) -> Unit): App
abstract fun once(event: String, listener: (event: Event, webContents: WebContents) -> Unit): App
abstract fun once(event: String, listener: (event: Event, type: String) -> Unit): App
abstract fun once(event: String, listener: Function<*>): App
abstract fun once(event: String, listener: (event: Event) -> Unit): App
abstract fun once(event: String, listener: Function<*>): App |
quit
|
abstract fun quit(): Unit |
relaunch
|
abstract fun relaunch(options: RelaunchOptions? = definedExternally): Unit |
releaseSingleInstance
|
abstract fun releaseSingleInstance(): Unit |
removeAsDefaultProtocolClient
|
abstract fun removeAsDefaultProtocolClient(protocol: String, path: String? = definedExternally, args: Array<String>? = definedExternally): Boolean |
removeListener
|
abstract fun removeListener(event: String, listener: (event: Event, accessibilitySupportEnabled: Boolean) -> Unit): App
abstract fun removeListener(event: String, listener: (event: Event, hasVisibleWindows: Boolean) -> Unit): App
abstract fun removeListener(event: String, listener: (event: Event, type: String, userInfo: Any) -> Unit): App
abstract fun removeListener(event: String, listener: (event: Event) -> Unit): App
abstract fun removeListener(event: String, listener: (event: Event, window: BrowserWindow) -> Unit): App
abstract fun removeListener(event: String, listener: (event: Event, window: BrowserWindow) -> Unit): App
abstract fun removeListener(event: String, listener: (event: Event, window: BrowserWindow) -> Unit): App
abstract fun removeListener(event: String, listener: (event: Event, webContents: WebContents, url: String, error: String, certificate: Certificate, callback: (isTrusted: Boolean) -> Unit) -> Unit): App
abstract fun removeListener(event: String, listener: (event: Event, type: String, userInfo: Any) -> Unit): App
abstract fun removeListener(event: String, listener: (event: Event, type: String, error: String) -> Unit): App
abstract fun removeListener(event: String, listener: (event: Event, killed: Boolean) -> Unit): App
abstract fun removeListener(event: String, listener: (event: Event, webContents: WebContents, request: Request, authInfo: AuthInfo, callback: (username: String, password: String) -> Unit) -> Unit): App
abstract fun removeListener(event: String, listener: (event: Event) -> Unit): App
abstract fun removeListener(event: String, listener: (event: Event, path: String) -> Unit): App
abstract fun removeListener(event: String, listener: (event: Event, url: String) -> Unit): App
abstract fun removeListener(event: String, listener: (event: Event, exitCode: Number) -> Unit): App
abstract fun removeListener(event: String, listener: (launchInfo: Any) -> Unit): App
abstract fun removeListener(event: String, listener: (event: Event, webContents: WebContents, url: String, certificateList: Array<Certificate>, callback: (certificate: Certificate?) -> Unit) -> Unit): App
abstract fun removeListener(event: String, listener: (event: Event, type: String, userInfo: Any) -> Unit): App
abstract fun removeListener(event: String, listener: (event: Event, webContents: WebContents) -> Unit): App
abstract fun removeListener(event: String, listener: (event: Event, type: String) -> Unit): App
abstract fun removeListener(event: String, listener: Function<*>): App
abstract fun removeListener(event: String, listener: (event: Event) -> Unit): App
abstract fun removeListener(event: String, listener: Function<*>): App |
setAboutPanelOptions
|
abstract fun setAboutPanelOptions(options: AboutPanelOptionsOptions): Unit |
setAccessibilitySupportEnabled
|
abstract fun setAccessibilitySupportEnabled(enabled: Boolean): Unit |
setAppUserModelId
|
abstract fun setAppUserModelId(id: String): Unit |
setAsDefaultProtocolClient
|
abstract fun setAsDefaultProtocolClient(protocol: String, path: String? = definedExternally, args: Array<String>? = definedExternally): Boolean |
setBadgeCount
|
abstract fun setBadgeCount(count: Number): Boolean |
setJumpList
|
abstract fun setJumpList(categories: Array<JumpListCategory>): Unit |
setLoginItemSettings
|
abstract fun setLoginItemSettings(settings: Settings): Unit |
setName
|
abstract fun setName(name: String): Unit |
setPath
|
abstract fun setPath(name: String, path: String): Unit |
setUserActivity
|
abstract fun setUserActivity(type: String, userInfo: Any, webpageURL: String? = definedExternally): Unit |
setUserTasks
|
abstract fun setUserTasks(tasks: Array<Task>): Boolean |
show
|
abstract fun show(): Unit |
startAccessingSecurityScopedResource
|
abstract fun startAccessingSecurityScopedResource(bookmarkData: String): Function<*> |
updateCurrentActivity
|
abstract fun updateCurrentActivity(type: String, userInfo: Any): Unit |