XCameraPreviewSizeChanged class
Fired when the native side learns or revises the preview's pixel
dimensions. Android emits this after CameraX's first
SurfaceRequest resolves (the size isn't known at create time);
iOS doesn't emit it (the size lands in the create result
synchronously from device.activeFormat).
- Inheritance
-
- Object
- XCameraEvent
- XCameraPreviewSizeChanged
Constructors
- XCameraPreviewSizeChanged(int handle, Size previewSize)
-
Carries the preview's revised pixel dimensions.
const
Properties
- handle → int
-
The session that emitted this event.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- previewSize → Size
-
Preview dimensions in the sensor's natural orientation.
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