PreviewController class

Controls an iOS UIView that displays frames from a CaptureSession.

See: Preview

Annotations
  • @Reference('av_foundation/av_foundation/PreviewController')

Constructors

PreviewController(CaptureSession captureSession)
Construct a PreviewController.

Properties

captureSession CaptureSession
The CaptureSession that provides preview frames to the iOS UiView.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

connection() Future<CaptureConnection?>
The CaptureConnection instance describing the CaptureInputPort to which the receiver is connected.
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