VideoCaptureConfig

@RequiresApi(21) class VideoCaptureConfig<T : VideoOutput!> : UseCaseConfig<VideoCapture<T>!>, ImageOutputConfig, ThreadConfig
kotlin.Any
   ↳ androidx.camera.video.impl.VideoCaptureConfig

Config for a video capture use case.

In the earlier stage, the VideoCapture is deprioritized.

Summary

Inherited constants
Public constructors

Public methods
Config

Int

Retrieves the format of the image that is fed as input.

T

Inherited functions
Properties
static Config.Option<VideoOutput!>!

Inherited properties

Public constructors

VideoCaptureConfig

VideoCaptureConfig(@NonNull config: OptionsBundle)

Public methods

getConfig

@NonNull fun getConfig(): Config

getInputFormat

fun getInputFormat(): Int

Retrieves the format of the image that is fed as input.

This should always be PRIVATE for VideoCapture.

getVideoOutput

@NonNull fun getVideoOutput(): T

Properties

OPTION_VIDEO_OUTPUT

static val OPTION_VIDEO_OUTPUT: Config.Option<VideoOutput!>!