Package-level declarations

Contains the IviActivity and the related IviActivityViewModel classes.

Types

Link copied to clipboard

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

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.