CaptureInputPort class
A specific stream of data provided by a capture input.
Instances of CaptureInput have one or more input ports, one for each data stream they can produce. For example, an CaptureDeviceInput object presenting one video data stream has one port.
- Annotations
-
- @Reference('av_foundation/av_foundation/CaptureInputPort')
Constructors
- CaptureInputPort({required String mediaType, String? sourceDeviceType, required int sourceDevicePosition})
- Construct a CaptureInputPort.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- mediaType → String
-
The port’s media type.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sourceDevicePosition → int
-
The position of the source device providing input through this port.
final
- sourceDeviceType → String?
-
The device type of the source camera providing the photo.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setEnabled(
{required bool enabled}) → Future< void> - Indicates whether the port is enabled.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited