SessionType Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the operating mode of a camera capture session.
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 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 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. |
Remarks
Use these values with SessionConfiguration. A regular session can include an input configuration for reprocessing. A constrained high-speed session contains output configurations only and does not support an input configuration. The selected mode and stream combination must be supported by the camera.
Android 16 source for capture session modes.