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 = this.checkedContainerColor,
checkedContentColor: RemoteColor = this.checkedContentColor,
checkedSecondaryContentColor: RemoteColor = this.checkedSecondaryContentColor,
checkedSplitContainerColor: RemoteColor = this.checkedSplitContainerColor,
checkedThumbColor: RemoteColor = this.checkedThumbColor,
checkedThumbIconColor: RemoteColor = this.checkedThumbIconColor,
checkedTrackColor: RemoteColor = this.checkedTrackColor,
checkedTrackBorderColor: RemoteColor = this.checkedTrackBorderColor,
uncheckedContainerColor: RemoteColor = this.uncheckedContainerColor,
uncheckedContentColor: RemoteColor = this.uncheckedContentColor,
uncheckedSecondaryContentColor: RemoteColor = this.uncheckedSecondaryContentColor,
uncheckedSplitContainerColor: RemoteColor = this.uncheckedSplitContainerColor,
uncheckedThumbColor: RemoteColor = this.uncheckedThumbColor,
uncheckedTrackColor: RemoteColor = this.uncheckedTrackColor,
uncheckedTrackBorderColor: RemoteColor = this.uncheckedTrackBorderColor,
disabledCheckedContainerColor: RemoteColor = this.disabledCheckedContainerColor,
disabledCheckedContentColor: RemoteColor = this.disabledCheckedContentColor,
disabledCheckedSecondaryContentColor: RemoteColor =
this.disabledCheckedSecondaryContentColor,
disabledCheckedSplitContainerColor: RemoteColor = this.disabledCheckedSplitContainerColor,
disabledCheckedThumbColor: RemoteColor = this.disabledCheckedThumbColor,
disabledCheckedThumbIconColor: RemoteColor = this.disabledCheckedThumbIconColor,
disabledCheckedTrackColor: RemoteColor = this.disabledCheckedTrackColor,
disabledCheckedTrackBorderColor: RemoteColor = this.disabledCheckedTrackBorderColor,
disabledUncheckedContainerColor: RemoteColor = this.disabledUncheckedContainerColor,
disabledUncheckedContentColor: RemoteColor = this.disabledUncheckedContentColor,
disabledUncheckedSecondaryContentColor: RemoteColor =
this.disabledUncheckedSecondaryContentColor,
disabledUncheckedSplitContainerColor: RemoteColor =
this.disabledUncheckedSplitContainerColor,
disabledUncheckedThumbColor: RemoteColor = this.disabledUncheckedThumbColor,
disabledUncheckedTrackBorderColor: RemoteColor = this.disabledUncheckedTrackBorderColor,
): 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