App
Functions
addListener
Link copied to clipboard
abstract fun addListener(event: String, listener: (event: Event) -> Unit): App
Content copied to clipboard
abstract fun addListener(event: String, listener: (session: Session) -> Unit): App
Content copied to clipboard
abstract override fun addListener(event: String, listener: (launchInfo: Any) -> Unit): App
Content copied to clipboard
abstract fun addListener(event: String, listener: (event: Event, window: BrowserWindow) -> Unit): App
Content copied to clipboard
abstract fun addListener(event: String, listener: (event: Event, webContents: WebContents) -> Unit): App
Content copied to clipboard
abstract fun addListener(event: String, listener: (event: Event, accessibilitySupportEnabled: Boolean) -> Unit): App
Content copied to clipboard
abstract fun addListener(event: String, listener: (event: Event, exitCode: Number) -> Unit): App
Content copied to clipboard
abstract fun addListener(event: String, listener: (event: Event, path: String) -> Unit): App
Content copied to clipboard
abstract fun addListener(event: String, listener: (event: Event, webContents: WebContents, details: Details) -> Unit): App
Content copied to clipboard
abstract fun addListener(event: String, listener: (event: Event, webContents: WebContents, guestWebContents: WebContents) -> Unit): App
Content copied to clipboard
abstract fun addListener(event: String, listener: (event: Event, webContents: WebContents, killed: Boolean) -> Unit): App
Content copied to clipboard
abstract fun addListener(event: String, listener: (event: Event, webContents: WebContents, moduleName: String) -> Unit): App
Content copied to clipboard
abstract fun addListener(event: String, listener: (event: Event, argv: Array<String>, workingDirectory: String) -> Unit): App
Content copied to clipboard
abstract fun addListener(event: String, listener: (event: Event, type: String, userInfo: Any) -> Unit): App
Content copied to clipboard
abstract fun addListener(event: String, listener: (event: Event, type: String, error: String) -> Unit): App
Content copied to clipboard
abstract fun addListener(event: String, listener: (event: Event, webContents: WebContents, authenticationResponseDetails: AuthenticationResponseDetails, authInfo: AuthInfo, callback: (username: String, password: String) -> Unit) -> Unit): App
Content copied to clipboard
abstract fun addListener(event: String, listener: (event: Event, webContents: WebContents, url: String, certificateList: Array<Certificate>, callback: (certificate: Certificate) -> Unit) -> Unit): App
Content copied to clipboard
abstract fun addListener(event: String, listener: (event: Event, webContents: WebContents, url: String, error: String, certificate: Certificate, callback: (isTrusted: Boolean) -> Unit) -> Unit): App
Content copied to clipboard
open fun addListener(event: Any, listener: (args: Any) -> Unit): EventEmitter
Content copied to clipboard
addRecentDocument
Link copied to clipboard
clearRecentDocuments
Link copied to clipboard
abstract fun clearRecentDocuments()
Content copied to clipboard
disableDomainBlockingFor3DAPIs
Link copied to clipboard
abstract fun disableDomainBlockingFor3DAPIs()
Content copied to clipboard
disableHardwareAcceleration
Link copied to clipboard
abstract fun disableHardwareAcceleration()
Content copied to clipboard
enableSandbox
Link copied to clipboard
abstract fun enableSandbox()
Content copied to clipboard
eventNames
Link copied to clipboard
focus
Link copied to clipboard
getApplicationNameForProtocol
Link copied to clipboard
getAppMetrics
Link copied to clipboard
getAppPath
Link copied to clipboard
getBadgeCount
Link copied to clipboard
getCurrentActivityType
Link copied to clipboard
getFileIcon
Link copied to clipboard
abstract fun getFileIcon(path: String, options: FileIconOptions = definedExternally): <ERROR CLASS><NativeImage>
Content copied to clipboard
getGPUFeatureStatus
Link copied to clipboard
getGPUInfo
Link copied to clipboard
getJumpListSettings
Link copied to clipboard
getLocaleCountryCode
Link copied to clipboard
getLoginItemSettings
Link copied to clipboard
abstract fun getLoginItemSettings(options: LoginItemSettingsOptions = definedExternally): LoginItemSettings
Content copied to clipboard
getMaxListeners
Link copied to clipboard
getVersion
Link copied to clipboard
hasSingleInstanceLock
Link copied to clipboard
importCertificate
Link copied to clipboard
abstract fun importCertificate(options: ImportCertificateOptions, callback: (result: Number) -> Unit)
Content copied to clipboard
invalidateCurrentActivity
Link copied to clipboard
abstract fun invalidateCurrentActivity()
Content copied to clipboard
isAccessibilitySupportEnabled
Link copied to clipboard
isDefaultProtocolClient
Link copied to clipboard
isEmojiPanelSupported
Link copied to clipboard
isInApplicationsFolder
Link copied to clipboard
isUnityRunning
Link copied to clipboard
listenerCount
Link copied to clipboard
moveToApplicationsFolder
Link copied to clipboard
abstract fun moveToApplicationsFolder(options: MoveToApplicationsFolderOptions = definedExternally): Boolean
Content copied to clipboard
on
Link copied to clipboard
abstract fun on(event: String, listener: (session: Session) -> Unit): App
Content copied to clipboard
abstract override fun on(event: String, listener: (launchInfo: Any) -> Unit): App
Content copied to clipboard
abstract fun on(event: String, listener: (event: Event, window: BrowserWindow) -> Unit): App
Content copied to clipboard
abstract fun on(event: String, listener: (event: Event, webContents: WebContents) -> Unit): App
Content copied to clipboard
abstract fun on(event: String, listener: (event: Event, accessibilitySupportEnabled: Boolean) -> Unit): App
Content copied to clipboard
abstract fun on(event: String, listener: (event: Event, exitCode: Number) -> Unit): App
Content copied to clipboard
abstract fun on(event: String, listener: (event: Event, path: String) -> Unit): App
Content copied to clipboard
abstract fun on(event: String, listener: (event: Event, webContents: WebContents, details: Details) -> Unit): App
Content copied to clipboard
abstract fun on(event: String, listener: (event: Event, webContents: WebContents, guestWebContents: WebContents) -> Unit): App
Content copied to clipboard
abstract fun on(event: String, listener: (event: Event, webContents: WebContents, killed: Boolean) -> Unit): App
Content copied to clipboard
abstract fun on(event: String, listener: (event: Event, webContents: WebContents, moduleName: String) -> Unit): App
Content copied to clipboard
abstract fun on(event: String, listener: (event: Event, argv: Array<String>, workingDirectory: String) -> Unit): App
Content copied to clipboard
abstract fun on(event: String, listener: (event: Event, type: String, userInfo: Any) -> Unit): App
Content copied to clipboard
abstract fun on(event: String, listener: (event: Event, type: String, error: String) -> Unit): App
Content copied to clipboard
abstract fun on(event: String, listener: (event: Event, webContents: WebContents, authenticationResponseDetails: AuthenticationResponseDetails, authInfo: AuthInfo, callback: (username: String, password: String) -> Unit) -> Unit): App
Content copied to clipboard
abstract fun on(event: String, listener: (event: Event, webContents: WebContents, url: String, certificateList: Array<Certificate>, callback: (certificate: Certificate) -> Unit) -> Unit): App
Content copied to clipboard
once
Link copied to clipboard
abstract fun once(event: String, listener: (session: Session) -> Unit): App
Content copied to clipboard
abstract override fun once(event: String, listener: (launchInfo: Any) -> Unit): App
Content copied to clipboard
abstract fun once(event: String, listener: (event: Event, window: BrowserWindow) -> Unit): App
Content copied to clipboard
abstract fun once(event: String, listener: (event: Event, webContents: WebContents) -> Unit): App
Content copied to clipboard
abstract fun once(event: String, listener: (event: Event, accessibilitySupportEnabled: Boolean) -> Unit): App
Content copied to clipboard
abstract fun once(event: String, listener: (event: Event, exitCode: Number) -> Unit): App
Content copied to clipboard
abstract fun once(event: String, listener: (event: Event, path: String) -> Unit): App
Content copied to clipboard
abstract fun once(event: String, listener: (event: Event, webContents: WebContents, details: Details) -> Unit): App
Content copied to clipboard
abstract fun once(event: String, listener: (event: Event, webContents: WebContents, guestWebContents: WebContents) -> Unit): App
Content copied to clipboard
abstract fun once(event: String, listener: (event: Event, webContents: WebContents, killed: Boolean) -> Unit): App
Content copied to clipboard
abstract fun once(event: String, listener: (event: Event, webContents: WebContents, moduleName: String) -> Unit): App
Content copied to clipboard
abstract fun once(event: String, listener: (event: Event, argv: Array<String>, workingDirectory: String) -> Unit): App
Content copied to clipboard
abstract fun once(event: String, listener: (event: Event, type: String, userInfo: Any) -> Unit): App
Content copied to clipboard
abstract fun once(event: String, listener: (event: Event, type: String, error: String) -> Unit): App
Content copied to clipboard
abstract fun once(event: String, listener: (event: Event, webContents: WebContents, authenticationResponseDetails: AuthenticationResponseDetails, authInfo: AuthInfo, callback: (username: String, password: String) -> Unit) -> Unit): App
Content copied to clipboard
abstract fun once(event: String, listener: (event: Event, webContents: WebContents, url: String, certificateList: Array<Certificate>, callback: (certificate: Certificate) -> Unit) -> Unit): App
Content copied to clipboard
prependListener
Link copied to clipboard
open fun prependListener(event: Any, listener: (args: Any) -> Unit): EventEmitter
Content copied to clipboard
open fun prependListener(event: String, listener: (args: Any) -> Unit): EventEmitter
Content copied to clipboard
prependOnceListener
Link copied to clipboard
open fun prependOnceListener(event: Any, listener: (args: Any) -> Unit): EventEmitter
Content copied to clipboard
open fun prependOnceListener(event: String, listener: (args: Any) -> Unit): EventEmitter
Content copied to clipboard
rawListeners
Link copied to clipboard
relaunch
Link copied to clipboard
releaseSingleInstanceLock
Link copied to clipboard
abstract fun releaseSingleInstanceLock()
Content copied to clipboard
removeAllListeners
Link copied to clipboard
open fun removeAllListeners(event: Any = definedExternally): EventEmitter
Content copied to clipboard
open fun removeAllListeners(event: String = definedExternally): EventEmitter
Content copied to clipboard
removeAsDefaultProtocolClient
Link copied to clipboard
removeListener
Link copied to clipboard
abstract fun removeListener(event: String, listener: (event: Event) -> Unit): App
Content copied to clipboard
abstract fun removeListener(event: String, listener: (session: Session) -> Unit): App
Content copied to clipboard
abstract override fun removeListener(event: String, listener: (launchInfo: Any) -> Unit): App
Content copied to clipboard
abstract fun removeListener(event: String, listener: (event: Event, window: BrowserWindow) -> Unit): App
Content copied to clipboard
abstract fun removeListener(event: String, listener: (event: Event, webContents: WebContents) -> Unit): App
Content copied to clipboard
abstract fun removeListener(event: String, listener: (event: Event, accessibilitySupportEnabled: Boolean) -> Unit): App
Content copied to clipboard
abstract fun removeListener(event: String, listener: (event: Event, exitCode: Number) -> Unit): App
Content copied to clipboard
abstract fun removeListener(event: String, listener: (event: Event, path: String) -> Unit): App
Content copied to clipboard
abstract fun removeListener(event: String, listener: (event: Event, webContents: WebContents, details: Details) -> Unit): App
Content copied to clipboard
abstract fun removeListener(event: String, listener: (event: Event, webContents: WebContents, guestWebContents: WebContents) -> Unit): App
Content copied to clipboard
abstract fun removeListener(event: String, listener: (event: Event, webContents: WebContents, killed: Boolean) -> Unit): App
Content copied to clipboard
abstract fun removeListener(event: String, listener: (event: Event, webContents: WebContents, moduleName: String) -> Unit): App
Content copied to clipboard
abstract fun removeListener(event: String, listener: (event: Event, argv: Array<String>, workingDirectory: String) -> Unit): App
Content copied to clipboard
abstract fun removeListener(event: String, listener: (event: Event, type: String, userInfo: Any) -> Unit): App
Content copied to clipboard
abstract fun removeListener(event: String, listener: (event: Event, type: String, error: String) -> Unit): App
Content copied to clipboard
abstract fun removeListener(event: String, listener: (event: Event, webContents: WebContents, authenticationResponseDetails: AuthenticationResponseDetails, authInfo: AuthInfo, callback: (username: String, password: String) -> Unit) -> Unit): App
Content copied to clipboard
abstract fun removeListener(event: String, listener: (event: Event, webContents: WebContents, url: String, certificateList: Array<Certificate>, callback: (certificate: Certificate) -> Unit) -> Unit): App
Content copied to clipboard
abstract fun removeListener(event: String, listener: (event: Event, webContents: WebContents, url: String, error: String, certificate: Certificate, callback: (isTrusted: Boolean) -> Unit) -> Unit): App
Content copied to clipboard
open fun removeListener(event: Any, listener: (args: Any) -> Unit): EventEmitter
Content copied to clipboard
requestSingleInstanceLock
Link copied to clipboard
resignCurrentActivity
Link copied to clipboard
abstract fun resignCurrentActivity()
Content copied to clipboard
setAboutPanelOptions
Link copied to clipboard
setAccessibilitySupportEnabled
Link copied to clipboard
setAppLogsPath
Link copied to clipboard
setAppUserModelId
Link copied to clipboard
setAsDefaultProtocolClient
Link copied to clipboard
setBadgeCount
Link copied to clipboard
setJumpList
Link copied to clipboard
setLoginItemSettings
Link copied to clipboard
setMaxListeners
Link copied to clipboard
setUserActivity
Link copied to clipboard
abstract fun setUserActivity(type: String, userInfo: Any, webpageURL: String = definedExternally)
Content copied to clipboard
setUserTasks
Link copied to clipboard
showAboutPanel
Link copied to clipboard
abstract fun showAboutPanel()
Content copied to clipboard
showEmojiPanel
Link copied to clipboard
abstract fun showEmojiPanel()
Content copied to clipboard
startAccessingSecurityScopedResource
Link copied to clipboard
abstract fun startAccessingSecurityScopedResource(bookmarkData: String): Function<*>
Content copied to clipboard
updateCurrentActivity
Link copied to clipboard
Properties
accessibilitySupportEnabled
Link copied to clipboard
allowRendererProcessReuse
Link copied to clipboard
applicationMenu
Link copied to clipboard
badgeCount
Link copied to clipboard
commandLine
Link copied to clipboard
isPackaged
Link copied to clipboard
userAgentFallback
Link copied to clipboard