CameraCharacteristics.InfoSessionConfigurationQueryVersion Property
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.
The version of the session configuration query CameraDevice.CameraDeviceSetup.isSessionConfigurationSupported(SessionConfiguration) and CameraDevice.CameraDeviceSetup.getSessionCharacteristics(SessionConfiguration) APIs.
[Android.Runtime.Register("INFO_SESSION_CONFIGURATION_QUERY_VERSION", ApiSince=35)]
public static Android.Hardware.Camera2.CameraCharacteristics.Key InfoSessionConfigurationQueryVersion { get; }
[<Android.Runtime.Register("INFO_SESSION_CONFIGURATION_QUERY_VERSION", ApiSince=35)>]
static member InfoSessionConfigurationQueryVersion : Android.Hardware.Camera2.CameraCharacteristics.Key
Property Value
The version of the session configuration query CameraDevice.CameraDeviceSetup.isSessionConfigurationSupported(SessionConfiguration) and CameraDevice.CameraDeviceSetup.getSessionCharacteristics(SessionConfiguration) APIs.
- Attributes
Remarks
The version of the session configuration query CameraDevice.CameraDeviceSetup.isSessionConfigurationSupported(SessionConfiguration) and CameraDevice.CameraDeviceSetup.getSessionCharacteristics(SessionConfiguration) APIs.
The possible values in this key correspond to the values defined in android.os.Build.VERSION_CODES. Each version defines a set of feature combinations the camera device must reliably report whether they are supported via CameraDevice.CameraDeviceSetup.isSessionConfigurationSupported(SessionConfiguration). It also defines the set of session specific keys in CameraCharacteristics when returned from CameraDevice.CameraDeviceSetup.getSessionCharacteristics(SessionConfiguration). The version is always less or equal to android.os.Build.VERSION.SDK_INT.
If set to UPSIDE_DOWN_CAKE, this camera device doesn't support the CameraDevice.CameraDeviceSetup API. Trying to create a CameraDeviceSetup instance throws an UnsupportedOperationException.
From VANILLA_ICE_CREAM onwards, the camera compliance tests verify a set of commonly used SessionConfigurations to ensure that the outputs of CameraDevice.CameraDeviceSetup.isSessionConfigurationSupported(SessionConfiguration) and CameraDevice.CameraDeviceSetup.getSessionCharacteristics(SessionConfiguration) are accurate. The application is encouraged to use these SessionConfigurations when turning on multiple features at the same time.
When set to VANILLA_ICE_CREAM, the combinations of the following configurations are verified by the compliance tests: A set of commonly used stream combinations:; MAXIMUM_4_3 refers to the camera device's maximum output resolution with 4:3 aspect ratio for that format from StreamConfigurationMap#getOutputSizes; MAXIMUM_16_9 is the maximum output resolution with 16:9 aspect ratio; S1440P refers to 2560x1440 (16:9); S1080P refers to 1920x1080 (16:9); S720P refers to 1280x720 (16:9); UHD refers to 3840x2160 (16:9); XVGA refers to 1024x768 (4:3); S1080P_43 refers to 1440x1080 (4:3); VIDEO_STABILIZATION_MODE: {OFF, PREVIEW}; AE_TARGET_FPS_RANGE: { {*, 30}, {*, 60} }; DYNAMIC_RANGE_PROFILE: {STANDARD, HLG10}
When set to BAKLAVA, the additional stream combinations below are verified by the compliance tests: VIDEO_STABILIZATION_MODE: {OFF, ON} for the newly added stream combinations given the presence of dedicated video stream
All of the above configurations can be set up with a SessionConfiguration. The list of OutputConfiguration contains the stream configurations and DYNAMIC_RANGE_PROFILE, and the AE_TARGET_FPS_RANGE and VIDEO_STABILIZATION_MODE are set as session parameters.
This key is available on all devices.
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.