Package-level declarations

Types

Link copied to clipboard

Represents different alignment options.

Link copied to clipboard

Interface for components that can be animated.

Link copied to clipboard
sealed class Animation

Represents different types of animations.

Link copied to clipboard

Base class for all MediaSFU UI components. Provides common functionality and state management.

Link copied to clipboard
data class Color(val red: Float, val green: Float, val blue: Float, val alpha: Float = 1.0f)

Represents a color in the UI system.

Link copied to clipboard
data class ComponentStyle(val backgroundColor: Color? = null, val textColor: Color? = null, val borderColor: Color? = null, val borderWidth: Float = 0.0f, val borderRadius: Float = 0.0f, val padding: EdgeInsets = EdgeInsets.zero, val margin: EdgeInsets = EdgeInsets.zero, val fontSize: Float = 14.0f, val fontWeight: FontWeight = FontWeight.Normal, val opacity: Float = 1.0f, val shadow: Shadow? = null)

Represents styling information for UI components.

Link copied to clipboard
data class EdgeInsets(val top: Float = 0.0f, val right: Float = 0.0f, val bottom: Float = 0.0f, val left: Float = 0.0f)

Represents edge insets for padding and margins.

Link copied to clipboard

Represents font weight options.

Link copied to clipboard
sealed class InteractionEvent

Represents different types of user interactions.

Link copied to clipboard

Interface for components that can handle user interactions.

Link copied to clipboard
interface LayoutComponent

Interface for components that can be laid out in a container.

Link copied to clipboard

Represents different layout directions.

Link copied to clipboard

Interface for components that can display media content.

Link copied to clipboard

Common interface for all UI components in the MediaSFU SDK. This provides a consistent base for all UI elements.

Link copied to clipboard

Factory for creating UI components. This provides a centralized way to create UI components with consistent configuration.

Link copied to clipboard

Interface for components that can be positioned.

Link copied to clipboard
data class Shadow(val color: Color, val offsetX: Float, val offsetY: Float, val blurRadius: Float)

Represents shadow information for UI components.

Link copied to clipboard

Interface for components that can be styled.

Link copied to clipboard

Represents swipe directions.

Functions

Link copied to clipboard
Link copied to clipboard
fun AudioCard(options: AudioCardOptions, modifier: Modifier = Modifier)
Link copied to clipboard

MediaSFU Component Factory Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun MainGridComponent(options: MainGridComponentOptions, renderTimer: Boolean = false, timer: @Composable BoxScope.() -> Unit? = null, content: @Composable BoxScope.() -> Unit)
Link copied to clipboard
Link copied to clipboard
fun MiniAudio(options: MiniAudioOptions, modifier: Modifier = Modifier)
Link copied to clipboard
fun MiniCard(options: MiniCardOptions, modifier: Modifier = Modifier)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard