(js)
|
abstract fun addListener(event: String, listener: (event: Event, newColor: String) -> Unit): SystemPreferences
abstract fun addListener(event: String, listener: (event: Event) -> Unit): SystemPreferences
abstract fun addListener(event: String, listener: (event: Event, invertedColorScheme: Boolean) -> Unit): SystemPreferences |
(js)
|
abstract fun getAccentColor(): String |
(js)
|
abstract fun getColor(color: dynamic): String |
(js)
|
abstract fun getUserDefault(key: String, type: String): Any |
(js)
|
abstract fun isAeroGlassEnabled(): Boolean |
(js)
|
abstract fun isDarkMode(): Boolean |
(js)
|
abstract fun isInvertedColorScheme(): Boolean |
(js)
|
abstract fun isSwipeTrackingFromScrollEventsEnabled(): Boolean |
(js)
|
abstract fun on(event: String, listener: (event: Event, newColor: String) -> Unit): SystemPreferences
abstract fun on(event: String, listener: (event: Event) -> Unit): SystemPreferences
abstract fun on(event: String, listener: (event: Event, invertedColorScheme: Boolean) -> Unit): SystemPreferences |
(js)
|
abstract fun once(event: String, listener: (event: Event, newColor: String) -> Unit): SystemPreferences
abstract fun once(event: String, listener: (event: Event) -> Unit): SystemPreferences
abstract fun once(event: String, listener: (event: Event, invertedColorScheme: Boolean) -> Unit): SystemPreferences |
(js)
|
abstract fun postLocalNotification(event: String, userInfo: Any): Unit |
(js)
|
abstract fun postNotification(event: String, userInfo: Any): Unit |
(js)
|
abstract fun registerDefaults(defaults: Any): Unit |
(js)
|
abstract fun removeListener(event: String, listener: (event: Event, newColor: String) -> Unit): SystemPreferences
abstract fun removeListener(event: String, listener: (event: Event) -> Unit): SystemPreferences
abstract fun removeListener(event: String, listener: (event: Event, invertedColorScheme: Boolean) -> Unit): SystemPreferences |
(js)
|
abstract fun removeUserDefault(key: String): Unit |
(js)
|
abstract fun setUserDefault(key: String, type: String, value: String): Unit |
(js)
|
abstract fun subscribeLocalNotification(event: String, callback: (event: String, userInfo: Any) -> Unit): Unit |
(js)
|
abstract fun subscribeNotification(event: String, callback: (event: String, userInfo: Any) -> Unit): Unit |
(js)
|
abstract fun unsubscribeLocalNotification(id: Number): Unit |
(js)
|
abstract fun unsubscribeNotification(id: Number): Unit |