PackageManager.FeatureCameraConcurrent Field

Definition

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device's main front and back cameras can stream concurrently as described in android.hardware.camera2.CameraManager#getConcurrentCameraIds().

[Android.Runtime.Register("FEATURE_CAMERA_CONCURRENT", ApiSince=30)]
public const string FeatureCameraConcurrent;
[<Android.Runtime.Register("FEATURE_CAMERA_CONCURRENT", ApiSince=30)>]
val mutable FeatureCameraConcurrent : string

Field Value

Attributes

Remarks

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device's main front and back cameras can stream concurrently as described in android.hardware.camera2.CameraManager#getConcurrentCameraIds(). </p>

While android.hardware.camera2.CameraManager#getConcurrentCameraIds() and associated APIs are only available on API level 30 or newer, this feature flag may be advertised by devices on API levels below 30. If present on such a device, the same guarantees hold: The main front and main back camera can be used at the same time, with guaranteed stream configurations as defined in the table for concurrent streaming at android.hardware.camera2.CameraDevice#createCaptureSession(android.hardware.camera2.params.SessionConfiguration).

Java documentation for android.content.pm.PackageManager.FEATURE_CAMERA_CONCURRENT.

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