Package com.tomtom.ivi.platform.frontend.api.common.uicontrols
Types
Link copied to clipboard
data class ToggleableServiceProperty(val value: Boolean, val setter: (Boolean) -> Unit? = null)
Content copied to clipboard
Helper class to hold a service property setting.
Functions
Link copied to clipboard
fun View.bindToggleableServiceProperty(model: ToggleableServiceProperty?, isViewEnabled: Boolean?)
Content copied to clipboard
Binds the view to a ToggleableServiceProperty.
Link copied to clipboard
fun IviServiceApi<*, *, *, *>.mapToToggleableServiceProperty(property: LiveData<Boolean>, propertySetter: (Boolean) -> Unit): LiveData<ToggleableServiceProperty>
Content copied to clipboard
Maps a service-related property to a ToggleableServiceProperty.