UseCaseCamera2Interop


@CameraXDsl
public interface UseCaseCamera2Interop extends OutputConfigurationInterop


Configures Camera2 options on a androidx.camera.core.UseCase.

Provides setters for output stream configuration options, such as physical camera ID, stream use case, mirror mode, timestamp base, dynamic range profile, and surface group ID.

Summary

Inherited methods

From androidx.camera.camera2.interop.OutputConfigurationInterop
abstract @NonNull UseCaseCamera2Interop
@RequiresApi(value = 33)
setDynamicRangeProfile(long dynamicRangeProfile)

Sets the dynamic range profile.

abstract @NonNull UseCaseCamera2Interop
@RequiresApi(value = 33)
setMirrorMode(int mirrorMode)

Sets the mirror mode.

abstract @NonNull UseCaseCamera2Interop
@RequiresApi(value = 28)
setPhysicalCameraId(@NonNull String cameraId)

Sets the physical camera ID.

abstract @NonNull UseCaseCamera2Interop
@RequiresApi(value = 33)
setStreamUseCase(long streamUseCase)

Sets the stream use case.

abstract @NonNull UseCaseCamera2Interop
@RequiresApi(value = 24)
setSurfaceGroupId(int groupId)

Sets the surface group ID.

abstract @NonNull UseCaseCamera2Interop
@RequiresApi(value = 33)
setTimestampBase(int timestampBase)

Sets the timestamp base.