Package com.tomtom.ivi.platform.vpa.api.common.vpaui

This package contains panel definitions and view models that can be used to build a VPA frontend.

Types

Link copied to clipboard
class EdgeRadialGradientDrawable : Drawable

EdgeRadialGradientDrawable renders a radial gradient centered on one edge of its bounds with its gradient radius extending to the bounds on the other 3 sides.

Link copied to clipboard
class TtiviVpaBasicListItemViewModel(val leftTextField: StringResolver, val rightTextField: StringResolver)
Link copied to clipboard
class TtiviVpaImageWithTextViewModel(val imageSource: DrawableResolver? = null, val bodyText: String? = null)

A ViewModel which can be used to populate a VPA UI element with an image and/or text.

Link copied to clipboard
class TtiviVpaList(context: Context, attrs: AttributeSet) : TtListTableLayout<TtiviVpaListItemViewModel>
Link copied to clipboard
class TtiviVpaListItemViewModel(val leftTextField: String, val rightTextField: TtInformationControlViewModel)
Link copied to clipboard
class TtiviVpaLocalSearchDetailViewModel(    val address: String?,     val phoneNumber: PhoneNumberStringResolver?,     val currentStatus: StringResolver?,     val imageSource: LiveData<DrawableResolver?>,     val hoursOfOperation: List<TtiviVpaBasicListItemViewModel>)
Link copied to clipboard
Link copied to clipboard
class TtiviVpaLocalSearchListItemViewModel(    val ordinalNum: String,     val title: String,     val address: String?,     val currentStatus: StringResolver?,     val travelDistance: String?,     val ratingValue: Float?,     val providerNames: String?,     val onItemClick: () -> Unit? = null)
Link copied to clipboard
Link copied to clipboard
class TtiviVpaTrafficDetailsViewModel(val travelTimeDistance: String, val destinationAddress: String)
Link copied to clipboard
class TtiviVpaWeatherForecastItemViewModel(    val iconUri: Uri?,     val dayOfWeek: String?,     val maxTemperature: String?,     val minTemperature: String?)
Link copied to clipboard
Link copied to clipboard
class TtiviVpaWeatherViewModel(    val iconUri: Uri?,     val currentTemperature: String?,     val maxTemperature: String?,     val minTemperature: String?,     val weatherForecast: List<TtiviVpaWeatherForecastItemViewModel>)
Link copied to clipboard
abstract class VpaNotificationPanel(    frontendContext: FrontendContext,     vpaIdentifier: VpaIdentifier,     vpaMediatorServiceApi: VpaMediatorServiceApi) : NotificationPanel

A VPA notification panel that shares common behaviour across multiple VPAs.

Link copied to clipboard
enum VpaTemplateDisplayType : Enum<VpaTemplateDisplayType>

Describes how a template should be displayed.