OutputConfigurationInterop


interface OutputConfigurationInterop

Known direct subclasses
ImageCaptureCamera2Interop

Configures Camera2 options on an androidx.camera.core.ImageCapture use case.

UseCaseCamera2Interop

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


Configures Camera2 android.hardware.camera2.params.OutputConfiguration options.

Summary

Public functions

Unit
@RequiresApi(value = 31)
addSensorPixelModeUsed(sensorPixelMode: Int)

Adds a sensor pixel mode that this output configuration will be used in.

Public properties

Long

The dynamic range profile.

Int

The mirror mode.

String?

The physical camera ID.

Set<Int>

The sensor pixel modes that this output configuration will be used in.

Long

The stream use case.

Int

The surface group ID.

Int

The timestamp base.

Public functions

addSensorPixelModeUsed

Added in 1.7.0-rc01
@RequiresApi(value = 31)
fun addSensorPixelModeUsed(sensorPixelMode: Int): Unit

Adds a sensor pixel mode that this output configuration will be used in.

Parameters
sensorPixelMode: Int

sensor pixel mode to add

Public properties

dynamicRangeProfile

Added in 1.7.0-rc01
var dynamicRangeProfile: Long

The dynamic range profile.

mirrorMode

Added in 1.7.0-rc01
var mirrorMode: Int

The mirror mode.

physicalCameraId

Added in 1.7.0-rc01
var physicalCameraId: String?

The physical camera ID.

sensorPixelModesUsed

Added in 1.7.0-rc01
var sensorPixelModesUsed: Set<Int>

The sensor pixel modes that this output configuration will be used in.

streamUseCase

Added in 1.7.0-rc01
var streamUseCase: Long

The stream use case.

surfaceGroupId

Added in 1.7.0-rc01
var surfaceGroupId: Int

The surface group ID.

timestampBase

Added in 1.7.0-rc01
var timestampBase: Int

The timestamp base.