CastButton

fun CastButton(modifier: Modifier = Modifier)

A composable function that displays a Cast button. This button allows users to discover and connect to Cast-enabled devices.

You must instantiate a CastContext before using this composable. This is typically done in your Activity or Application class.

Parameters

modifier

The Modifier to be applied to the Cast button.

See also