VideoCaptureScope


@CameraXDsl
public final class VideoCaptureScope<T extends VideoOutput> implements InteropConfigurableScope


Scope class for VideoCapture configuration DSL.

Summary

Public methods

final @NonNull DynamicRange

Sets or gets the dynamic range for this use case.

final int

Sets or gets the mirror mode for this use case.

final @NonNull Range<@NonNull Integer>

Sets or gets the target frame rate range for this use case.

final @NonNull String

Sets or gets the target name for this use case configuration.

final int

Sets or gets the target rotation for this use case.

final boolean

Sets or gets whether video stabilization is enabled for this use case.

final void

Sets or gets the dynamic range for this use case.

final void
setMirrorMode(int value)

Sets or gets the mirror mode for this use case.

final void

Sets or gets the target frame rate range for this use case.

final void

Sets or gets the target name for this use case configuration.

final void
setTargetRotation(int value)

Sets or gets the target rotation for this use case.

final void

Sets or gets whether video stabilization is enabled for this use case.

Public methods

getDynamicRange

Added in 1.7.0-rc01
public final @NonNull DynamicRange getDynamicRange()

Sets or gets the dynamic range for this use case.

See also
setDynamicRange

getMirrorMode

Added in 1.7.0-rc01
public final int getMirrorMode()

Sets or gets the mirror mode for this use case.

See also
setMirrorMode

getTargetFrameRate

Added in 1.7.0-rc01
public final @NonNull Range<@NonNull Integer> getTargetFrameRate()

Sets or gets the target frame rate range for this use case.

getTargetName

Added in 1.7.0-rc01
public final @NonNull String getTargetName()

Sets or gets the target name for this use case configuration.

See also
setTargetName

getTargetRotation

Added in 1.7.0-rc01
public final int getTargetRotation()

Sets or gets the target rotation for this use case.

isVideoStabilizationEnabled

Added in 1.7.0-rc01
public final boolean isVideoStabilizationEnabled()

Sets or gets whether video stabilization is enabled for this use case.

setDynamicRange

Added in 1.7.0-rc01
public final void setDynamicRange(@NonNull DynamicRange value)

Sets or gets the dynamic range for this use case.

See also
setDynamicRange

setMirrorMode

Added in 1.7.0-rc01
public final void setMirrorMode(int value)

Sets or gets the mirror mode for this use case.

See also
setMirrorMode

setTargetFrameRate

Added in 1.7.0-rc01
public final void setTargetFrameRate(@NonNull Range<@NonNull Integer> value)

Sets or gets the target frame rate range for this use case.

setTargetName

Added in 1.7.0-rc01
public final void setTargetName(@NonNull String value)

Sets or gets the target name for this use case configuration.

See also
setTargetName

setTargetRotation

Added in 1.7.0-rc01
public final void setTargetRotation(int value)

Sets or gets the target rotation for this use case.

setVideoStabilizationEnabled

Added in 1.7.0-rc01
public final void setVideoStabilizationEnabled(boolean value)

Sets or gets whether video stabilization is enabled for this use case.