HighSpeedVideoSessionConfigScope


@CameraXDsl
public final class HighSpeedVideoSessionConfigScope


Scope class for HighSpeedVideoSessionConfig configuration DSL.

Summary

Public methods

final @NonNull Range<@NonNull Integer>

The desired frame rate range for high-speed video recording.

final @Nullable Preview

The Preview use case for displaying a preview during recording.

final boolean

Whether to use auto rotation.

final boolean

Whether to apply slow-motion effects to the recorded video.

final void
setAutoRotationEnabled(boolean value)

Whether to use auto rotation.

final void

The desired frame rate range for high-speed video recording.

final void

The Preview use case for displaying a preview during recording.

final void
setSlowMotionEnabled(boolean value)

Whether to apply slow-motion effects to the recorded video.

Public methods

getFrameRateRange

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

The desired frame rate range for high-speed video recording.

getPreview

Added in 1.7.0-rc01
public final @Nullable Preview getPreview()

The Preview use case for displaying a preview during recording.

isAutoRotationEnabled

Added in 1.7.0-rc01
public final boolean isAutoRotationEnabled()

Whether to use auto rotation.

isSlowMotionEnabled

Added in 1.7.0-rc01
public final boolean isSlowMotionEnabled()

Whether to apply slow-motion effects to the recorded video.

setAutoRotationEnabled

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

Whether to use auto rotation.

setFrameRateRange

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

The desired frame rate range for high-speed video recording.

setPreview

Added in 1.7.0-rc01
public final void setPreview(Preview value)

The Preview use case for displaying a preview during recording.

setSlowMotionEnabled

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

Whether to apply slow-motion effects to the recorded video.