PreviewCallback class Null safety

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.
read-onlyinherited
onPreviewFrame DataCallback
Called as preview frames are displayed.
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

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