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