Google은 흑인 공동체를 위한 인종 간 평등을 진전시키기 위해 노력하고 있습니다. Google에서 어떤 노력을 하고 있는지 확인하세요.

CaptureRequestOptions.Builder

public static final class CaptureRequestOptions.Builder
extends Object implements ExtendableBuilder<CaptureRequestOptions>

java.lang.Object
   ↳ androidx.camera.camera2.interop.CaptureRequestOptions.Builder


Builder for creating CaptureRequestOptions instance.

Summary

Public constructors

Builder()

Public methods

CaptureRequestOptions build()

Builds an immutable CaptureRequestOptions from the current state.

<ValueT> CaptureRequestOptions.Builder clearCaptureRequestOption(Key<ValueT> key)

Removes a capture request option with specific CaptureRequest.Key setting.

<ValueT> CaptureRequestOptions.Builder setCaptureRequestOption(Key<ValueT> key, ValueT value)

Inserts new capture request option with specific CaptureRequest.Key setting.

Inherited methods

Public constructors

Builder

public Builder ()

Public methods

build

public CaptureRequestOptions build ()

Builds an immutable CaptureRequestOptions from the current state.

Returns
CaptureRequestOptions A CaptureRequestOptions populated with the current state.

clearCaptureRequestOption

public CaptureRequestOptions.Builder clearCaptureRequestOption (Key<ValueT> key)

Removes a capture request option with specific CaptureRequest.Key setting.

Parameters
key Key

Returns
CaptureRequestOptions.Builder

setCaptureRequestOption

public CaptureRequestOptions.Builder setCaptureRequestOption (Key<ValueT> key, 
                ValueT value)

Inserts new capture request option with specific CaptureRequest.Key setting.

Parameters
key Key

value ValueT

Returns
CaptureRequestOptions.Builder