CallControlItem

data class CallControlItem(@DrawableRes val icon: Int, @ColorRes val iconTint: Int, @ColorRes val backgroundTint: Int, val action: CallAction, val enabled: Boolean = true)

A singe call control item to be exposed to the user in the CallControlsView.

Parameters

icon

The icon in the center of the button.

iconTint

The color of the icon.

backgroundTint

The color of the button background.

action

The CallAction to be performed.

Constructors

Link copied to clipboard
constructor(@DrawableRes icon: Int, @ColorRes iconTint: Int, @ColorRes backgroundTint: Int, action: CallAction, enabled: Boolean = true)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val enabled: Boolean = true
Link copied to clipboard
val icon: Int
Link copied to clipboard