VideoViewController class
A controller for the VideoView that is responsible for attaching a Participant and a MediaStream to the VideoView, detaching them, and getting information about the VideoView state.
An instance of this class can be provided during the instantiation of the VideoView widget, if this widget is constructed using the default constructor.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
attach(
Participant participant, MediaStream? mediaStream) → void - Attaches a Participant and a MediaStream to the VideoView. This allows the VideoView to display the provided MediaStream if the media stream object belongs to the provided Participant.
-
detach(
) → void - Detaches a MediaStream and a Participant from the VideoView to stop displaying the MediaStream.
-
isAttached(
) → Future< bool> - Returns true if a MediaStream is currently attached to the VideoView.
- Returns true if the attached MediaStream contains a video track whose contents come from a screen shared by the local participant.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited