UseCaseCamera2Interop


@CameraXDsl
interface UseCaseCamera2Interop : 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 functions

From androidx.camera.camera2.interop.OutputConfigurationInterop
UseCaseCamera2Interop
@RequiresApi(value = 33)
setDynamicRangeProfile(dynamicRangeProfile: Long)

Sets the dynamic range profile.

UseCaseCamera2Interop
@RequiresApi(value = 33)
setMirrorMode(mirrorMode: Int)

Sets the mirror mode.

UseCaseCamera2Interop
@RequiresApi(value = 28)
setPhysicalCameraId(cameraId: String)

Sets the physical camera ID.

UseCaseCamera2Interop
@RequiresApi(value = 33)
setStreamUseCase(streamUseCase: Long)

Sets the stream use case.

UseCaseCamera2Interop
@RequiresApi(value = 24)
setSurfaceGroupId(groupId: Int)

Sets the surface group ID.

UseCaseCamera2Interop
@RequiresApi(value = 33)
setTimestampBase(timestampBase: Int)

Sets the timestamp base.

Inherited properties

From androidx.camera.camera2.interop.OutputConfigurationInterop
open Long

Sets the dynamic range profile.

open Int

Sets the mirror mode.

open String

Sets the physical camera ID.

open Long

Sets the stream use case.

open Int

Sets the surface group ID.

open Int

Sets the timestamp base.