Språk

SessionType Enum

Definition

public enum SessionType
type SessionType = 
Inheritance
SessionType

Fields

Name Value Description
Regular 0

A regular session type containing instances of OutputConfiguration running at regular non high speed FPS ranges and optionally InputConfiguration for reprocessable sessions.

Android reference for android.hardware.camera2.params.SessionConfiguration.SESSION_REGULAR.

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.

HighSpeed 1

A high speed session type that can only contain instances of OutputConfiguration. The outputs can run using high speed FPS ranges. Calls to setInputConfiguration(InputConfiguration) are not supported.

When using this type, the CameraCaptureSession returned by CameraCaptureSession.StateCallback can be cast to a CameraConstrainedHighSpeedCaptureSession to access the extra methods for constrained high speed recording.

Android reference for android.hardware.camera2.params.SessionConfiguration.SESSION_HIGH_SPEED.

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