toggle menu
Kotlin Wrappers API Reference
js
switch theme
search in API
kotlin-electron
/
electron.core
/
PowerMonitor
/
off
off
abstract
fun
off
(
event
:
PowerMonitorEvent.LOCK_SCREEN
,
listener
:
Function
<
Unit
>
)
(
source
)
abstract
fun
off
(
event
:
PowerMonitorEvent.ON_AC
,
listener
:
Function
<
Unit
>
)
(
source
)
abstract
fun
off
(
event
:
PowerMonitorEvent.ON_BATTERY
,
listener
:
Function
<
Unit
>
)
(
source
)
abstract
fun
off
(
event
:
PowerMonitorEvent.RESUME
,
listener
:
Function
<
Unit
>
)
(
source
)
abstract
fun
off
(
event
:
PowerMonitorEvent.SHUTDOWN
,
listener
:
Function
<
Unit
>
)
(
source
)
abstract
fun
off
(
event
:
PowerMonitorEvent.SPEED_LIMIT_CHANGE
,
listener
:
Function
<
Unit
>
)
(
source
)
abstract
fun
off
(
event
:
PowerMonitorEvent.SUSPEND
,
listener
:
Function
<
Unit
>
)
(
source
)
abstract
fun
off
(
event
:
PowerMonitorEvent.THERMAL_STATE_CHANGE
,
listener
:
Function
<
Unit
>
)
(
source
)
abstract
fun
off
(
event
:
PowerMonitorEvent.UNLOCK_SCREEN
,
listener
:
Function
<
Unit
>
)
(
source
)
abstract
fun
off
(
event
:
PowerMonitorEvent.USER_DID_BECOME_ACTIVE
,
listener
:
Function
<
Unit
>
)
(
source
)
abstract
fun
off
(
event
:
PowerMonitorEvent.USER_DID_RESIGN_ACTIVE
,
listener
:
Function
<
Unit
>
)
(
source
)