Package 

Interface VideoComponentFactory


  • 
    public interface VideoComponentFactory
    
                        

    A factory for creating the components used by the Video Compose SDK.

    Each method has a default implementation that renders the built-in component, so you only need to override the components you want to customize. The factory is provided through VideoTheme, and the built-in components read it via VideoTheme.componentFactory.

    VideoTheme(
        componentFactory = object : VideoComponentFactory {
            @Composable
            override fun RowScope.CallAppBarTrailingContent(
                params: CallAppBarTrailingContentParams,
            ) {
                // Custom trailing content
            }
        },
    ) {
        CallContent(call = call)
    }

    Use CompoundComponentFactory to layer overrides on top of the current factory for a subtree.