Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d7cc17c1 authored by Jayant Chowdhary's avatar Jayant Chowdhary
Browse files

camera2: Add documentation for getConcurrentStreamingCameraIds specifying multi-process use.



Add documentation specifying that camera devices advertised by
getConcurrentStreamingCameraIds() refer to those devices which can be
configured concurrently by the same client application.

Bug: 150225538

Test: m offline-sdk-docs

Change-Id: I4997f10ca73de45fd58d22261c7456402d761a57
Signed-off-by: default avatarJayant Chowdhary <jchowdhary@google.com>
parent 6b0bccc9
Loading
Loading
Loading
Loading
+10 −2
Original line number Diff line number Diff line
@@ -131,9 +131,17 @@ public final class CameraManager {
    }

    /**
     * Return the list of combinations of currently connected camera devices identifiers, which
     * Return the set of combinations of currently connected camera device identifiers, which
     * support configuring camera device sessions concurrently.
     *
     * <p>The devices in these combinations can be concurrently configured by the same
     * client camera application. Using these camera devices concurrently by two different
     * applications is not guaranteed to be supported, however.</p>
     *
     * <p>Each device in a combination, is guaranteed to support stream combinations which may be
     * obtained by querying {@link #getCameraCharacteristics} for the key
     * {@link android.hardware.camera2.CameraCharacteristics#SCALER_MANDATORY_CONCURRENT_STREAM_COMBINATIONS}.</p>
     *
     * <p>The set of combinations may include camera devices that may be in use by other camera API
     * clients.</p>
     *
@@ -174,7 +182,7 @@ public final class CameraManager {
     * to be used for exploring the entire space of supported concurrent stream combinations. The
     * available mandatory concurrent stream combinations may be obtained by querying
     * {@link #getCameraCharacteristics} for the key
     * SCALER_MANDATORY_CONCURRENT_STREAM_COMBINATIONS. </p>
     * {@link android.hardware.camera2.CameraCharacteristics#SCALER_MANDATORY_CONCURRENT_STREAM_COMBINATIONS}. </p>
     *
     * <p>Note that session parameters will be ignored and calls to
     * {@link SessionConfiguration#setSessionParameters} are not required.</p>