androidx.camera.viewfinder.core
Interfaces
ZoomGestureDetector.OnZoomGestureListener |
The listener for receiving notifications when gestures occur. |
Classes
TransformationInfo |
Transformation information associated with the preview output. |
ViewfinderSurfaceRequest |
The request to get a |
ViewfinderSurfaceRequest.Builder |
Builder for |
ViewfinderSurfaceRequest.Result |
Result of providing a surface to a |
ZoomGestureDetector |
Detector that interprets |
ZoomGestureDetector.ZoomEvent |
The zoom event that contains extended info about event state. |
ZoomGestureDetector.ZoomEvent.Begin |
The beginning of a zoom gesture. |
ZoomGestureDetector.ZoomEvent.End |
The end of a zoom gesture. |
ZoomGestureDetector.ZoomEvent.Move |
The moving events of a gesture in progress. |
Enums
ImplementationMode |
The implementation mode of a Viewfinder. |
ScaleType |
Options for scaling the input frames vis-à-vis its container viewfinder. |
Extension functions summary
ViewfinderSurfaceRequest.Builder |
ViewfinderSurfaceRequest.Builder.populateFromCharacteristics( Populates |
Extension functions
populateFromCharacteristics
fun ViewfinderSurfaceRequest.Builder.populateFromCharacteristics(
cameraCharacteristics: CameraCharacteristics
): ViewfinderSurfaceRequest.Builder
Populates ViewfinderSurfaceRequest.Builder
from CameraCharacteristics
.
The CameraCharacteristics
will be used to populate information including lens facing, sensor orientation and ImplementationMode
. If the hardware level is legacy, the ImplementationMode
will be set to ImplementationMode.EMBEDDED
.