LowLightBoostOptions

public final class LowLightBoostOptions


Properties of a LowLightBoostSession.

Summary

Public constructors

LowLightBoostOptions(
    @NonNull Surface target,
    @NonNull String cameraId,
    int captureWidth,
    int captureHeight,
    boolean enableLowLightBoost
)

Public methods

final @NonNull String

Camera ID of the camera to use.

final int

Height of the render target.

final int

Width of the render target.

final boolean

Initial boost mode of the session.

final @NonNull Surface

Destination surface of the brightened preview.

Public constructors

LowLightBoostOptions

public LowLightBoostOptions(
    @NonNull Surface target,
    @NonNull String cameraId,
    int captureWidth,
    int captureHeight,
    boolean enableLowLightBoost
)

Public methods

getCameraId

public final @NonNull String getCameraId()

Camera ID of the camera to use.

getCaptureHeight

public final int getCaptureHeight()

Height of the render target.

getCaptureWidth

public final int getCaptureWidth()

Width of the render target.

getEnableLowLightBoost

public final boolean getEnableLowLightBoost()

Initial boost mode of the session.

getTarget

public final @NonNull Surface getTarget()

Destination surface of the brightened preview.