AudioRecordPlayerViewStyle

data class AudioRecordPlayerViewStyle(@Px val height: Int, val padding: ViewPadding, val backgroundDrawable: Drawable?, @ColorInt val backgroundDrawableTint: Int?, val playbackProgressContainerSize: ViewSize, val playbackButtonSize: ViewSize, val playbackButtonPadding: ViewPadding, @Px val playbackButtonElevation: Int, val playbackButtonBackground: Drawable?, @ColorInt val playbackButtonBackgroundTint: Int?, val progressBarDrawable: Drawable?, @ColorInt val progressBarDrawableTint: Int?, val progressBarSize: ViewSize, val playIconDrawable: Drawable?, @ColorInt val playIconDrawableTint: Int?, val pauseIconDrawable: Drawable?, @ColorInt val pauseIconDrawableTint: Int?, val durationTextViewSize: ViewSize, @Px val durationTextMarginStart: Int, val durationTextStyle: TextStyle, @Px val waveBarHeight: Int, @Px val waveBarMarginStart: Int, @ColorInt val waveBarColorPlayed: Int, @ColorInt val waveBarColorFuture: Int, val scrubberDrawable: Drawable?, @ColorInt val scrubberDrawableTint: Int?, @Px val scrubberWidthDefault: Int, @Px val scrubberWidthPressed: Int, val isFileIconContainerVisible: Boolean, @Px val fileIconContainerWidth: Int, val audioFileIconDrawable: Drawable?, val speedButtonTextStyle: TextStyle, val speedButtonBackground: Drawable?, @ColorInt val speedButtonBackgroundTint: Int?, val speedButtonSize: ViewSize, @Px val speedButtonElevation: Int) : ViewStyle

Style for io.getstream.chat.android.ui.feature.messages.list.adapter.view.internal.AudioRecordPlayerView.

Parameters

height

Height of the view.

padding

Padding of the view.

backgroundDrawable

Background drawable of the view.

backgroundDrawableTint

Background drawable tint of the view.

playbackProgressContainerSize

Size of the playback progress container.

playbackButtonSize

Size of the playback button.

playbackButtonPadding

Padding of the playback button.

playbackButtonElevation

Elevation of the playback button.

playbackButtonBackground

Background of the playback button.

playbackButtonBackgroundTint

Background tint of the playback button.

playIconDrawable

Play icon drawable.

playIconDrawableTint

Play icon drawable tint.

pauseIconDrawable

Pause icon drawable.

pauseIconDrawableTint

Pause icon drawable tint.

progressBarDrawable

Progress bar drawable.

progressBarDrawableTint

Progress bar drawable tint.

progressBarSize

Size of the progress bar.

durationTextViewSize

Size of the duration text view.

durationTextMarginStart

Margin start of the duration text view.

durationTextStyle

Style of the duration text.

waveBarHeight

Height of the wave bar.

waveBarMarginStart

Margin start of the wave bar.

waveBarColorPlayed

Color of the played wave bar.

waveBarColorFuture

Color of the future wave bar.

scrubberDrawable

Scrubber drawable.

scrubberDrawableTint

Scrubber drawable tint.

scrubberWidthDefault

Default width of the scrubber.

scrubberWidthPressed

Pressed width of the scrubber.

isFileIconContainerVisible

Is file icon container visible.

fileIconContainerWidth

Width of the file icon container.

audioFileIconDrawable

Audio file icon drawable.

speedButtonSize

Size of the speed button.

speedButtonElevation

Elevation of the speed button.

speedButtonBackground

Background of the speed button.

speedButtonBackgroundTint

Background tint of the speed button.

speedButtonTextStyle

Style of the speed button text.

Constructors

Link copied to clipboard
constructor(@Px height: Int, padding: ViewPadding, backgroundDrawable: Drawable?, @ColorInt backgroundDrawableTint: Int?, playbackProgressContainerSize: ViewSize, playbackButtonSize: ViewSize, playbackButtonPadding: ViewPadding, @Px playbackButtonElevation: Int, playbackButtonBackground: Drawable?, @ColorInt playbackButtonBackgroundTint: Int?, progressBarDrawable: Drawable?, @ColorInt progressBarDrawableTint: Int?, progressBarSize: ViewSize, playIconDrawable: Drawable?, @ColorInt playIconDrawableTint: Int?, pauseIconDrawable: Drawable?, @ColorInt pauseIconDrawableTint: Int?, durationTextViewSize: ViewSize, @Px durationTextMarginStart: Int, durationTextStyle: TextStyle, @Px waveBarHeight: Int, @Px waveBarMarginStart: Int, @ColorInt waveBarColorPlayed: Int, @ColorInt waveBarColorFuture: Int, scrubberDrawable: Drawable?, @ColorInt scrubberDrawableTint: Int?, @Px scrubberWidthDefault: Int, @Px scrubberWidthPressed: Int, isFileIconContainerVisible: Boolean, @Px fileIconContainerWidth: Int, audioFileIconDrawable: Drawable?, speedButtonTextStyle: TextStyle, speedButtonBackground: Drawable?, @ColorInt speedButtonBackgroundTint: Int?, speedButtonSize: ViewSize, @Px speedButtonElevation: Int)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val height: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard