Kit > healthstack.kit.info.publication > VideoPublication
VideoPublication
[androidJvm]
class VideoPublication(val coverContent: String?, val category: String, val title: String, val description: String, val contents: List<ContentBlock>) : Publication
Constructors
VideoPublication | [androidJvm] fun VideoPublication(coverContent: String?, category: String, title: String, description: String, contents: List<ContentBlock>) |
Functions
Name | Summary |
---|---|
CardView | [androidJvm] @Composable fun CardView(onClick: (Publication?) -> Unit) |
CustomControls | [androidJvm] @Composable fun CustomControls(modifier: Modifier = Modifier, isVisible: () -> Boolean, isPlaying: () -> Boolean, onPauseToggle: () -> Unit, isMute: () -> Boolean, onMuteToggle: () -> Unit, totalDuration: () -> Long, currentTime: () -> Long, bufferedPercentage: () -> Int, onSeekChanged: (timeMs: Float) -> Unit) |
PreviewImage | [androidJvm] @Composable open override fun PreviewImage() |
RelatedContent | [androidJvm] @Composable fun RelatedContent() |
Render | [androidJvm] @Composable open override fun Render(onClick: (Publication?) -> Unit) |
VideoPlayer | [androidJvm] @Composable fun VideoPlayer(modifier: Modifier = Modifier, uri: Uri, lifecycle: Lifecycle.Event) |
Properties
Name | Summary |
---|---|
category | [androidJvm] val category: String |
contents | [androidJvm] val contents: List<ContentBlock> |
coverContent | [androidJvm] val coverContent: String? |
description | [androidJvm] val description: String |
title | [androidJvm] val title: String |