Skip to main content

CLCastButtonProps

Properties

color

color?: string;

Sets the color of the cast button. Compatible with CSS values.


isVisible

isVisible?: boolean;

Sets the visibility of the button.


onCastStarted

onCastStarted?: GenericCallback;

A function to execute each time a session is successfully started.


onCastStopped

onCastStopped?: CastStoppedCallback;

A function to execute each time a session is stopped.


onCastWillStart

onCastWillStart?: GenericCallback;

A function to execute each time a session attempts to start.


onCastWillStop

onCastWillStop?: GenericCallback;

A function to execute each time before a session stops.


onViewCreated

onViewCreated?: NewInstanceCallback;

A function to execute when a button is created.


style

style?: any;