PreviewCallback class

Callback used to deliver copies of preview frames as they are displayed.

Annotations
  • @Reference('android_hardware/camera/PreviewCallback')

Constructors

PreviewCallback(DataCallback onPreviewFrame)
Construct a PreviewCallback.
PreviewCallback.withoutCreate(DataCallback onPreviewFrame)
Construct a PreviewCallback without creating the paired Java object.

Properties

hashCode int
The hash code for this object.
no setterinherited
onPreviewFrame DataCallback
Called as preview frames are displayed.
final
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