Class

RemoteSplitSwitchButtonColors

Represents the container, content, and switch control colors used in RemoteSplitSwitchButton in different states.

Source set: Android
public class RemoteSplitSwitchButtonColors(
    public val checkedContainerColor: RemoteColor,
    public val checkedContentColor: RemoteColor,
    public val checkedSecondaryContentColor: RemoteColor,
    public val checkedSplitContainerColor: RemoteColor,
    public val checkedThumbColor: RemoteColor,
    public val checkedThumbIconColor: RemoteColor,
    public val checkedTrackColor: RemoteColor,
    public val checkedTrackBorderColor: RemoteColor,
    public val uncheckedContainerColor: RemoteColor,
    public val uncheckedContentColor: RemoteColor,
    public val uncheckedSecondaryContentColor: RemoteColor,
    public val uncheckedSplitContainerColor: RemoteColor,
    public val uncheckedThumbColor: RemoteColor,
    public val uncheckedTrackColor: RemoteColor,
    public val uncheckedTrackBorderColor: RemoteColor,
    public val disabledCheckedContainerColor: RemoteColor,
    public val disabledCheckedContentColor: RemoteColor,
    public val disabledCheckedSecondaryContentColor: RemoteColor,
    public val disabledCheckedSplitContainerColor: RemoteColor,
    public val disabledCheckedThumbColor: RemoteColor,
    public val disabledCheckedThumbIconColor: RemoteColor,
    public val disabledCheckedTrackColor: RemoteColor,
    public val disabledCheckedTrackBorderColor: RemoteColor,
    public val disabledUncheckedContainerColor: RemoteColor,
    public val disabledUncheckedContentColor: RemoteColor,
    public val disabledUncheckedSecondaryContentColor: RemoteColor,
    public val disabledUncheckedSplitContainerColor: RemoteColor,
    public val disabledUncheckedThumbColor: RemoteColor,
    public val disabledUncheckedTrackBorderColor: RemoteColor,
)

Represents the container, content, and switch control colors used in RemoteSplitSwitchButton in different states.

Parameters

checkedContainerColor The container color of the RemoteSplitSwitchButton when enabled and checked.
checkedContentColor The content color of the RemoteSplitSwitchButton when enabled and checked.
checkedSecondaryContentColor The secondary content color of the RemoteSplitSwitchButton when enabled and checked, used for secondaryLabel content.
checkedSplitContainerColor The split container color of the RemoteSplitSwitchButton when enabled and checked.
checkedThumbColor The thumb color of the RemoteSplitSwitchButton when enabled and checked.
checkedThumbIconColor The thumb icon color of the RemoteSplitSwitchButton when enabled and checked.
checkedTrackColor The track color of the RemoteSplitSwitchButton when enabled and checked.
checkedTrackBorderColor The track border color of the RemoteSplitSwitchButton when enabled and checked.
uncheckedContainerColor The container color of the RemoteSplitSwitchButton when enabled and unchecked.
uncheckedContentColor The content color of the RemoteSplitSwitchButton when enabled and unchecked.
uncheckedSecondaryContentColor The secondary content color of the RemoteSplitSwitchButton when enabled and unchecked, used for secondaryLabel content.
uncheckedSplitContainerColor The split container color of the RemoteSplitSwitchButton when enabled and unchecked.
uncheckedThumbColor The thumb color of the RemoteSplitSwitchButton when enabled and unchecked.
uncheckedTrackColor The track color of the RemoteSplitSwitchButton when enabled and unchecked.
uncheckedTrackBorderColor The track border color of the RemoteSplitSwitchButton when enabled and unchecked.
disabledCheckedContainerColor The container color of the RemoteSplitSwitchButton when disabled and checked.
disabledCheckedContentColor The content color of the RemoteSplitSwitchButton when disabled and checked.
disabledCheckedSecondaryContentColor The secondary content color of the RemoteSplitSwitchButton when disabled and checked, used for secondaryLabel content.
disabledCheckedSplitContainerColor The split container color of the RemoteSplitSwitchButton when disabled and checked.
disabledCheckedThumbColor The thumb color of the RemoteSplitSwitchButton when disabled and checked.
disabledCheckedThumbIconColor The thumb icon color of the RemoteSplitSwitchButton when disabled and checked.
disabledCheckedTrackColor The track color of the RemoteSplitSwitchButton when disabled and checked.
disabledCheckedTrackBorderColor The track border color of the RemoteSplitSwitchButton when disabled and checked.
disabledUncheckedContainerColor The container color of the RemoteSplitSwitchButton when disabled and unchecked.
disabledUncheckedContentColor The content color of the RemoteSplitSwitchButton when disabled and unchecked.
disabledUncheckedSecondaryContentColor The secondary content color of the RemoteSplitSwitchButton when disabled and unchecked, used for secondaryLabel content.
disabledUncheckedSplitContainerColor The split container color of the RemoteSplitSwitchButton when disabled and unchecked.
disabledUncheckedThumbColor The thumb color of the RemoteSplitSwitchButton when disabled and unchecked.
disabledUncheckedTrackBorderColor The track border color of the RemoteSplitSwitchButton when disabled and unchecked.

Functions

copy

Source set: Android
public fun copy(
        checkedContainerColor: RemoteColor? = null,
        checkedContentColor: RemoteColor? = null,
        checkedSecondaryContentColor: RemoteColor? = null,
        checkedSplitContainerColor: RemoteColor? = null,
        checkedThumbColor: RemoteColor? = null,
        checkedThumbIconColor: RemoteColor? = null,
        checkedTrackColor: RemoteColor? = null,
        checkedTrackBorderColor: RemoteColor? = null,
        uncheckedContainerColor: RemoteColor? = null,
        uncheckedContentColor: RemoteColor? = null,
        uncheckedSecondaryContentColor: RemoteColor? = null,
        uncheckedSplitContainerColor: RemoteColor? = null,
        uncheckedThumbColor: RemoteColor? = null,
        uncheckedTrackColor: RemoteColor? = null,
        uncheckedTrackBorderColor: RemoteColor? = null,
        disabledCheckedContainerColor: RemoteColor? = null,
        disabledCheckedContentColor: RemoteColor? = null,
        disabledCheckedSecondaryContentColor: RemoteColor? = null,
        disabledCheckedSplitContainerColor: RemoteColor? = null,
        disabledCheckedThumbColor: RemoteColor? = null,
        disabledCheckedThumbIconColor: RemoteColor? = null,
        disabledCheckedTrackColor: RemoteColor? = null,
        disabledCheckedTrackBorderColor: RemoteColor? = null,
        disabledUncheckedContainerColor: RemoteColor? = null,
        disabledUncheckedContentColor: RemoteColor? = null,
        disabledUncheckedSecondaryContentColor: RemoteColor? = null,
        disabledUncheckedSplitContainerColor: RemoteColor? = null,
        disabledUncheckedThumbColor: RemoteColor? = null,
        disabledUncheckedTrackBorderColor: RemoteColor? = null,
    ): RemoteSplitSwitchButtonColors

Returns a copy of this RemoteSplitSwitchButtonColors optionally overriding some values.

equals

Source set: Android
override fun equals(other: Any?): Boolean

hashCode

Source set: Android
override fun hashCode(): Int

Content updated: