PinType enum

Defines the pinning behavior for a participant's media streams.

  • This enum is used with Participant.pin and Participant.unpin to control whether a participant’s camera stream, screen share stream, or both should be pinned.

Example

await participant.pin(PinType.CAM);
Inheritance
Available extensions

Values

SHARE_AND_CAM → const PinType

Pins both the camera and screen share streams.

Example

PinType.SHARE_AND_CAM
CAM → const PinType

Pins only the camera stream.

Example

PinType.CAM
SHARE → const PinType

Pins only the screen share stream.

Example

PinType.SHARE

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

values → const List<PinType>
A constant List of the values in this enum, in order of their declaration.