CarProgressBarStyle


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


Defines the visual style of a CarProgressBar.

This style can be used to customize the appearance of the progress bar, such as its color or stroke cap.

Custom styles will fall back to host defaults if they are unset, or if they fail host-enforced contrast requirements.

Summary

Nested types

A builder of CarProgressBarStyle.

Public functions

Boolean
equals(other: Any?)
CarColor?

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

Int

Returns the stroke cap of the progress bar, or DEFAULT if not set.

Int
String

Public functions

equals

fun equals(other: Any?): Boolean

getColor

Added in 1.9.0-alpha02
fun getColor(): CarColor?

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

getStrokeCap

Added in 1.9.0-alpha02
fun getStrokeCap(): Int

Returns the stroke cap of the progress bar, or DEFAULT if not set.

hashCode

fun hashCode(): Int

toString

fun toString(): String