Package-level declarations
UI components for use within Jetpack Compose.
Types
Link copied to clipboard
A VideoSinkVisibility for compose views.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
The type of scaling to use with VideoTrackView
Functions
Link copied to clipboard
fun BarVisualizer(modifier: Modifier = Modifier, style: DrawStyle = Fill, brush: Brush = SolidColor(Color.Black), barWidth: Dp = 8.dp, minHeight: Float = 0.2f, maxHeight: Float = 1.0f, amplitudes: FloatArray, alphas: FloatArray? = null, animationSpec: AnimationSpec<Float> = defaultBarVisualizerAnimationSpec)
Draws bars evenly split across the width of the composable.
Link copied to clipboard
fun CameraPreview(cameraPosition: CameraPosition, modifier: Modifier = Modifier, mirror: Boolean = false)
A standalone camera preview composable that can be used without a Room object.
Link copied to clipboard
A dropdown menu that enables selection of the available cameras.
Link copied to clipboard
Creates a DeviceState that is remembered across recompositions.
Link copied to clipboard
fun VideoTrackView(trackReference: TrackReference?, modifier: Modifier = Modifier, room: Room? = null, mirror: Boolean = false, scaleType: ScaleType = ScaleType.Fill, rendererType: RendererType = RendererType.Texture, onFirstFrameRendered: () -> Unit = {})
fun VideoTrackView(videoTrack: VideoTrack?, modifier: Modifier = Modifier, passedRoom: Room? = null, mirror: Boolean = false, scaleType: ScaleType = ScaleType.Fill, rendererType: RendererType = RendererType.Texture, onFirstFrameRendered: () -> Unit? = null)
Widget for displaying a VideoTrack. Handles the Compose <-> AndroidView interop needed to use TextureViewRenderer.