AppMovieActions

fun AppMovieActions(onPlayClick: () -> Unit, onAddToListClick: () -> Unit, onFavoriteClick: () -> Unit, providers: List<WatchProvider>, onProviderClick: (WatchProvider) -> Unit, modifier: Modifier = Modifier, playText: String = stringResource(Res.string.movie_action_play_trailer), isPlaying: Boolean = false, isFavorite: Boolean = false, isInList: Boolean = false)

A vertical action bar for movies that includes a play button, list/favorite buttons and watch providers.

Parameters

onPlayClick

Callback for the main play action.

onAddToListClick

Callback for the add to list action.

onFavoriteClick

Callback for the favorite action.

providers

List of watch providers.

onProviderClick

Callback when a provider is clicked.

modifier

Modifier for the container.

playText

Label for the play button.

isPlaying

Whether the video is currently playing.

isFavorite

Whether the movie is favorited.

isInList

Whether the movie is in the user's list.