System Preferences
Functions
add Listener
Link copied to clipboard
abstract fun addListener(event: String, listener: (event: Event) -> Unit): SystemPreferences
Content copied to clipboard
abstract fun addListener(event: String, listener: (event: Event, highContrastColorScheme: Boolean) -> Unit): SystemPreferences
Content copied to clipboard
abstract fun addListener(event: String, listener: (event: Event, newColor: String) -> Unit): SystemPreferences
Content copied to clipboard
open fun addListener(event: Any, listener: (args: Any) -> Unit): EventEmitter
Content copied to clipboard
open fun addListener(event: String, listener: (args: Any) -> Unit): EventEmitter
Content copied to clipboard
ask For Media Access
Link copied to clipboard
can Prompt Touch ID
Link copied to clipboard
event Names
Link copied to clipboard
get Accent Color
Link copied to clipboard
get Animation Settings
Link copied to clipboard
get App Level Appearance
Link copied to clipboard
get Effective Appearance
Link copied to clipboard
get Max Listeners
Link copied to clipboard
get Media Access Status
Link copied to clipboard
get System Color
Link copied to clipboard
get User Default
Link copied to clipboard
is Aero Glass Enabled
Link copied to clipboard
is Dark Mode
Link copied to clipboard
is High Contrast Color Scheme
Link copied to clipboard
is Inverted Color Scheme
Link copied to clipboard
is Swipe Tracking From Scroll Events Enabled
Link copied to clipboard
is Trusted Accessibility Client
Link copied to clipboard
listener Count
Link copied to clipboard
on
Link copied to clipboard
abstract fun on(event: String, listener: (event: Event) -> Unit): SystemPreferences
Content copied to clipboard
abstract fun on(event: String, listener: (event: Event, highContrastColorScheme: Boolean) -> Unit): SystemPreferences
Content copied to clipboard
once
Link copied to clipboard
abstract fun once(event: String, listener: (event: Event) -> Unit): SystemPreferences
Content copied to clipboard
abstract fun once(event: String, listener: (event: Event, highContrastColorScheme: Boolean) -> Unit): SystemPreferences
Content copied to clipboard
abstract fun once(event: String, listener: (event: Event, newColor: String) -> Unit): SystemPreferences
Content copied to clipboard
open fun once(event: String, listener: (args: Any) -> Unit): EventEmitter
Content copied to clipboard
post Local Notification
Link copied to clipboard
abstract fun postLocalNotification(event: String, userInfo: Record<String, Any>)
Content copied to clipboard
post Notification
Link copied to clipboard
post Workspace Notification
Link copied to clipboard
abstract fun postWorkspaceNotification(event: String, userInfo: Record<String, Any>)
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
prompt Touch ID
Link copied to clipboard
raw Listeners
Link copied to clipboard
register Defaults
Link 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 Listener
Link copied to clipboard
abstract fun removeListener(event: String, listener: (event: Event) -> Unit): SystemPreferences
Content copied to clipboard
abstract fun removeListener(event: String, listener: (event: Event, highContrastColorScheme: Boolean) -> Unit): SystemPreferences
Content copied to clipboard
abstract fun removeListener(event: String, listener: (event: Event, newColor: String) -> Unit): SystemPreferences
Content copied to clipboard
open fun removeListener(event: Any, listener: (args: Any) -> Unit): EventEmitter
Content copied to clipboard
open fun removeListener(event: String, listener: (args: Any) -> Unit): EventEmitter
Content copied to clipboard
remove User Default
Link copied to clipboard
set App Level Appearance
Link copied to clipboard
set Max Listeners
Link copied to clipboard
set User Default
Link copied to clipboard
subscribe Local Notification
Link copied to clipboard
subscribe Notification
Link copied to clipboard
subscribe Workspace Notification
Link copied to clipboard
unsubscribe Local Notification
Link copied to clipboard
unsubscribe Notification
Link copied to clipboard
unsubscribe Workspace Notification
Link copied to clipboard