androidx.camera.viewfinder.surface
Interfaces
ViewfinderSurfaceProvider |
A interface implemented by the application to provide a |
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 |
Enums
ImplementationMode |
The implementation mode of a 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
.