Table of Contents

Class CaptureRequest.Builder

Builder for a capture request.

public sealed class CaptureRequest.Builder : CameraMetadata
Inheritance
object
CaptureRequest.Builder
Inherited Members
Extension Methods

Constructors

Builder(AndroidJavaObject)

public Builder(AndroidJavaObject native)

Parameters

native AndroidJavaObject

Methods

SetTag<T>(T)

Set a tag for this request.

public void SetTag<T>(T tag) where T : notnull

Parameters

tag T

An arbitrary Object to store with this request.

Type Parameters

T

The type of the tag.

Remarks

Supports the types supported by ToJava<T>(T) + AndroidJavaObject.

Set<T>(string, T)

Set a capture request field to a value.

public void Set<T>(string keyName, T value) where T : notnull

Parameters

keyName string

The name of the key.

value T

The value to set.

Type Parameters

T

The type of the value.

Remarks

Supports the types supported by ToJava<T>(T) + AndroidJavaObject.

Exceptions

KeyNotFoundException

Thrown if the key is not defined in KeyProviderClass.

Set<T>(Key, T)

Set a capture request field to a value.

public void Set<T>(CameraMetadata.Key key, T value) where T : notnull

Parameters

key CameraMetadata.Key

The key.

value T

The value to set.

Type Parameters

T

The type of the value.

Remarks

Supports the types supported by ToJava<T>(T) + AndroidJavaObject.