System Preferences
Functions
addListener
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
askForMediaAccess
Link copied to clipboard
abstract fun askForMediaAccess(mediaType: String): <ERROR CLASS><Boolean>
Content copied to clipboard
canPromptTouchID
Link copied to clipboard
eventNames
Link copied to clipboard
getAccentColor
Link copied to clipboard
getAnimationSettings
Link copied to clipboard
getAppLevelAppearance
Link copied to clipboard
getEffectiveAppearance
Link copied to clipboard
getMaxListeners
Link copied to clipboard
getMediaAccessStatus
Link copied to clipboard
getSystemColor
Link copied to clipboard
getUserDefault
Link copied to clipboard
isAeroGlassEnabled
Link copied to clipboard
isDarkMode
Link copied to clipboard
isHighContrastColorScheme
Link copied to clipboard
isInvertedColorScheme
Link copied to clipboard
isSwipeTrackingFromScrollEventsEnabled
Link copied to clipboard
isTrustedAccessibilityClient
Link copied to clipboard
listenerCount
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
postLocalNotification
Link copied to clipboard
abstract fun postLocalNotification(event: String, userInfo: Record<String, Any>)
Content copied to clipboard
postNotification
Link copied to clipboard
postWorkspaceNotification
Link copied to clipboard
abstract fun postWorkspaceNotification(event: String, userInfo: Record<String, Any>)
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
promptTouchID
Link copied to clipboard
rawListeners
Link copied to clipboard
registerDefaults
Link 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
removeListener
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
removeUserDefault
Link copied to clipboard
setAppLevelAppearance
Link copied to clipboard
setMaxListeners
Link copied to clipboard
setUserDefault
Link copied to clipboard
subscribeLocalNotification
Link copied to clipboard
subscribeNotification
Link copied to clipboard
subscribeWorkspaceNotification
Link copied to clipboard
unsubscribeLocalNotification
Link copied to clipboard
unsubscribeNotification
Link copied to clipboard
unsubscribeWorkspaceNotification
Link copied to clipboard