App
Functions
add Listener
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
add Recent Document
Link copied to clipboard
clear Recent Documents
Link copied to clipboard
abstract fun clearRecentDocuments()
Content copied to clipboard
disable Domain Blocking For3DAPIs
Link copied to clipboard
abstract fun disableDomainBlockingFor3DAPIs()
Content copied to clipboard
disable Hardware Acceleration
Link copied to clipboard
abstract fun disableHardwareAcceleration()
Content copied to clipboard
enable Sandbox
Link copied to clipboard
abstract fun enableSandbox()
Content copied to clipboard
event Names
Link copied to clipboard
focus
Link copied to clipboard
get Application Name For Protocol
Link copied to clipboard
get App Metrics
Link copied to clipboard
get App Path
Link copied to clipboard
get Badge Count
Link copied to clipboard
get Current Activity Type
Link copied to clipboard
get File Icon
Link copied to clipboard
abstract fun getFileIcon(path: String, options: FileIconOptions = definedExternally): Promise<NativeImage>
Content copied to clipboard
get GPUFeature Status
Link copied to clipboard
get GPUInfo
Link copied to clipboard
get Jump List Settings
Link copied to clipboard
get Locale Country Code
Link copied to clipboard
get Login Item Settings
Link copied to clipboard
abstract fun getLoginItemSettings(options: LoginItemSettingsOptions = definedExternally): LoginItemSettings
Content copied to clipboard
get Max Listeners
Link copied to clipboard
get Version
Link copied to clipboard
has Single Instance Lock
Link copied to clipboard
import Certificate
Link copied to clipboard
abstract fun importCertificate(options: ImportCertificateOptions, callback: (result: Number) -> Unit)
Content copied to clipboard
invalidate Current Activity
Link copied to clipboard
abstract fun invalidateCurrentActivity()
Content copied to clipboard
is Accessibility Support Enabled
Link copied to clipboard
is Default Protocol Client
Link copied to clipboard
is Emoji Panel Supported
Link copied to clipboard
is In Applications Folder
Link copied to clipboard
is Unity Running
Link copied to clipboard
listener Count
Link copied to clipboard
move To Applications Folder
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
prepend Listener
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
prepend Once Listener
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
raw Listeners
Link copied to clipboard
relaunch
Link copied to clipboard
release Single Instance Lock
Link copied to clipboard
abstract fun releaseSingleInstanceLock()
Content copied to clipboard
remove All Listeners
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
remove As Default Protocol Client
Link copied to clipboard
remove Listener
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
request Single Instance Lock
Link copied to clipboard
resign Current Activity
Link copied to clipboard
abstract fun resignCurrentActivity()
Content copied to clipboard
set About Panel Options
Link copied to clipboard
set Accessibility Support Enabled
Link copied to clipboard
set App Logs Path
Link copied to clipboard
set App User Model Id
Link copied to clipboard
set As Default Protocol Client
Link copied to clipboard
set Badge Count
Link copied to clipboard
set Jump List
Link copied to clipboard
set Login Item Settings
Link copied to clipboard
set Max Listeners
Link copied to clipboard
set User Activity
Link copied to clipboard
abstract fun setUserActivity(type: String, userInfo: Any, webpageURL: String = definedExternally)
Content copied to clipboard
set User Tasks
Link copied to clipboard
show About Panel
Link copied to clipboard
abstract fun showAboutPanel()
Content copied to clipboard
show Emoji Panel
Link copied to clipboard
abstract fun showEmojiPanel()
Content copied to clipboard
start Accessing Security Scoped Resource
Link copied to clipboard
abstract fun startAccessingSecurityScopedResource(bookmarkData: String): Function<*>
Content copied to clipboard
update Current Activity
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