OutputConfigurationInterop


interface OutputConfigurationInterop<T : OutputConfigurationInterop<T>>

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

T
@RequiresApi(value = 33)
setDynamicRangeProfile(dynamicRangeProfile: Long)

Sets the dynamic range profile.

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

Sets the mirror mode.

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

Sets the physical camera ID.

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

Sets the stream use case.

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

Sets the surface group ID.

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

Sets the timestamp base.

Public properties

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.

Public functions

setDynamicRangeProfile

Added in 1.7.0-alpha03
@RequiresApi(value = 33)
fun setDynamicRangeProfile(dynamicRangeProfile: Long): T

Sets the dynamic range profile.

Parameters
dynamicRangeProfile: Long

dynamic range profile

Returns
T

this OutputConfigurationInterop instance

setMirrorMode

Added in 1.7.0-alpha03
@RequiresApi(value = 33)
fun setMirrorMode(mirrorMode: Int): T

Sets the mirror mode.

Parameters
mirrorMode: Int

mirror mode

Returns
T

this OutputConfigurationInterop instance

setPhysicalCameraId

Added in 1.7.0-alpha03
@RequiresApi(value = 28)
fun setPhysicalCameraId(cameraId: String): T

Sets the physical camera ID.

Parameters
cameraId: String

physical camera ID

Returns
T

this OutputConfigurationInterop instance

setStreamUseCase

Added in 1.7.0-alpha03
@RequiresApi(value = 33)
fun setStreamUseCase(streamUseCase: Long): T

Sets the stream use case.

Parameters
streamUseCase: Long

stream use case

Returns
T

this OutputConfigurationInterop instance

setSurfaceGroupId

Added in 1.7.0-alpha03
@RequiresApi(value = 24)
fun setSurfaceGroupId(groupId: Int): T

Sets the surface group ID.

Parameters
groupId: Int

surface group ID

Returns
T

this OutputConfigurationInterop instance

setTimestampBase

Added in 1.7.0-alpha03
@RequiresApi(value = 33)
fun setTimestampBase(timestampBase: Int): T

Sets the timestamp base.

Parameters
timestampBase: Int

timestamp base

Returns
T

this OutputConfigurationInterop instance

Public properties

dynamicRangeProfile

Added in 1.7.0-alpha03
Deprecated in 1.7.0-alpha03
open var dynamicRangeProfileLong

Sets the dynamic range profile.

mirrorMode

Added in 1.7.0-alpha03
Deprecated in 1.7.0-alpha03
open var mirrorModeInt

Sets the mirror mode.

See also
setMirrorMode

physicalCameraId

Added in 1.7.0-alpha03
Deprecated in 1.7.0-alpha03
open var physicalCameraIdString

Sets the physical camera ID.

streamUseCase

Added in 1.7.0-alpha03
Deprecated in 1.7.0-alpha03
open var streamUseCaseLong

Sets the stream use case.

See also
setStreamUseCase

surfaceGroupId

Added in 1.7.0-alpha03
Deprecated in 1.7.0-alpha03
open var surfaceGroupIdInt

Sets the surface group ID.

timestampBase

Added in 1.7.0-alpha03
Deprecated in 1.7.0-alpha03
open var timestampBaseInt

Sets the timestamp base.

See also
setTimestampBase