MultiResolutionImageReader.Builder.SetConcurrentOutputsEnabled Method
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.
Turn on/off concurrent outputs for the internal ImageReaders.
[Android.Runtime.Register("setConcurrentOutputsEnabled", "(Z)Landroid/hardware/camera2/MultiResolutionImageReader$Builder;", "", ApiSince=37)]
public Android.Hardware.Camera2.MultiResolutionImageReader.Builder SetConcurrentOutputsEnabled(bool enable);
[<Android.Runtime.Register("setConcurrentOutputsEnabled", "(Z)Landroid/hardware/camera2/MultiResolutionImageReader$Builder;", "", ApiSince=37)>]
member this.SetConcurrentOutputsEnabled : bool -> Android.Hardware.Camera2.MultiResolutionImageReader.Builder
Parameters
- enable
- Boolean
Whether to allow the camera device to output concurrent readers for this MultiResolutionImageReader. If set to true for a device that doesn't support MultiResolutionImageReader concurrency, CameraDevice.createCaptureSession(SessionConfiguration) will fail.
Returns
the Builder instance with concurrency enabled. This value cannot be null.
- Attributes
Remarks
Turn on/off concurrent outputs for the internal ImageReaders.
If MultiResolutionStreamConfigurationMap.isConcurrentReadersSupported returns true, the camera device supports concurrent outputs from multiple internal ImageReaders (for example, in scenarios where multiple sensors run at the same time). By default, concurrent outputs are disabled. The application can enable such mode by calling this function with true.
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.