Package com.tomtom.ivi.platform.framework.api.product.activity

Contains the IviActivity and the related IviActivityViewModel classes.


Link copied to clipboard
abstract class BaseActivity : AppCompatActivity

A base activity that provides certain basic functionality, like being fullscreen and having a lifecycle. This class should not have dependencies on other IVI-related components. This activity simply allows extending IVI-related activity to be free from clutter.

Link copied to clipboard
class CompositeUiScalingStrategy(uiScalingStrategies: UiScalingStrategy) : UiScalingStrategy

A composition of UI scaling strategies. When getUiScalingFactor is invoked, it will return the value of the first strategy in uiScalingStrategies that returns a non-null value.

Link copied to clipboard
abstract class IviActivity : BaseActivity

The base activity for the IVI system. Hooks up the activity-related interaction to the rest of the system, which is necessary for the system UI. Should be extended by the product to configure it, based on customer needs.

Link copied to clipboard
fun interface UiScalingStrategy

A strategy that provides a factor to scale the UI with.