CarProgressBar


@CarProtocol
@RequiresCarApi(value = 9)
@ExperimentalCarApi
class CarProgressBar


A model that represents a progress bar to display in the car screen.

A progress bar displays the progress of a task or playback. It is a non-interactive element that can be used in templates that support it, such as in a Row or GridItem. `

The progress bar takes in the progress value as a mandatory field and can optionally set a custom style.

Summary

Nested types

A builder of CarProgressBar.

Public functions

Boolean
equals(other: Any?)
Float

Returns the progress between 0.0 and 1.0.

CarProgressBarStyle?

Returns the style of the progress bar, or null if not set.

Int
String

Public functions

equals

fun equals(other: Any?): Boolean

getProgress

Added in 1.8.0
fun getProgress(): Float

Returns the progress between 0.0 and 1.0.

getStyle

Added in 1.9.0-alpha02
fun getStyle(): CarProgressBarStyle?

Returns the style of the progress bar, or null if not set.

hashCode

fun hashCode(): Int

toString

fun toString(): String