public abstract class

SurfaceOutput.CameraInputInfo

extends java.lang.Object

 java.lang.Object

↳androidx.camera.core.SurfaceOutput.CameraInputInfo

Overview

Camera input information for transformation matrix calculation in SurfaceOutput.

Summary

Constructors
publicCameraInputInfo()

Methods
public abstract CameraInternalgetCameraInternal()

Gets CameraInternal.

public abstract RectgetInputCropRect()

Gets input crop rect.

public abstract SizegetInputSize()

Gets input size.

public abstract booleangetMirroring()

Gets input mirroring state.

public abstract intgetRotationDegrees()

Gets input rotation degrees.

public static SurfaceOutput.CameraInputInfoof(Size inputSize, Rect inputCropRect, CameraInternal cameraInternal, int rotationDegrees, boolean mirroring)

Creates a SurfaceOutput.CameraInputInfo.

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructors

public CameraInputInfo()

Methods

public abstract Size getInputSize()

Gets input size.

public abstract Rect getInputCropRect()

Gets input crop rect.

public abstract CameraInternal getCameraInternal()

Gets CameraInternal.

public abstract int getRotationDegrees()

Gets input rotation degrees.

public abstract boolean getMirroring()

Gets input mirroring state.

public static SurfaceOutput.CameraInputInfo of(Size inputSize, Rect inputCropRect, CameraInternal cameraInternal, int rotationDegrees, boolean mirroring)

Creates a SurfaceOutput.CameraInputInfo.