Language

ExtensionSessionConfiguration.SessionWideParams Property

Definition

Retrieve the session wide camera parameters (see CaptureRequest). -or- Sets the session wide camera parameters (see CaptureRequest).

public Android.Hardware.Camera2.CaptureRequest? SessionWideParams { [Android.Runtime.Register("getSessionWideParams", "()Landroid/hardware/camera2/CaptureRequest;", "", ApiSince=37)] get; [Android.Runtime.Register("setSessionWideParams", "(Landroid/hardware/camera2/CaptureRequest;)V", "", ApiSince=37)] set; }
[<get: Android.Runtime.Register("getSessionWideParams", "()Landroid/hardware/camera2/CaptureRequest;", "", ApiSince=37)>]
[<set: Android.Runtime.Register("setSessionWideParams", "(Landroid/hardware/camera2/CaptureRequest;)V", "", ApiSince=37)>]
member this.SessionWideParams : Android.Hardware.Camera2.CaptureRequest with get, set

Property Value

A capture request that includes the initial values for any available session wide capture keys, or null if no request is configured.

Attributes

Remarks

Retrieve the session wide camera parameters (see CaptureRequest).

When the request is used to initialize a session, tags (see SetTag(Object)) and output targets (see AddTarget(Surface)) are ignored if set. Parameter values not part of AvailableSessionKeys will also be ignored. It is recommended to build the session parameters using the same template type as the initial capture request, so that the session and initial request parameters match as much as possible.

Android reference for android.hardware.camera2.params.ExtensionSessionConfiguration.getSessionWideParams.

Android reference for android.hardware.camera2.params.ExtensionSessionConfiguration.setSessionWideParams.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to