Share via


SessionConfiguration.SessionParameters Property

Definition

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

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

Property Value

A capture request that includes the initial values for any available session wide capture keys.

Attributes

Remarks

Property getter documentation:

Retrieve the session wide camera parameters (see CaptureRequest).

Java documentation for android.hardware.camera2.params.SessionConfiguration.getSessionParameters().

Property setter documentation:

Sets the session wide camera parameters (see CaptureRequest). This argument can be set for every supported session type and will be passed to the camera device as part of the capture session initialization. Session parameters are a subset of the available capture request parameters (see CameraCharacteristics#getAvailableSessionKeys) and their application can introduce internal camera delays. To improve camera performance it is suggested to change them sparingly within the lifetime of the capture session and to pass their initial values as part of this method.

Java documentation for android.hardware.camera2.params.SessionConfiguration.setSessionParameters(android.hardware.camera2.CaptureRequest).

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