Merge "camera2: Update documentation for getConcurrentStreamingCameraIds to account for availability callbacks."

This commit is contained in:
Jayant Chowdhary
2020-02-20 06:43:15 +00:00
committed by Android (Google) Code Review

View File

@@ -140,6 +140,11 @@ public final class CameraManager {
* <p>The set of combinations doesn't contain physical cameras that can only be used as
* part of a logical multi-camera device.</p>
*
* <p> If a new camera id becomes available through
* {@link AvailabilityCallback#onCameraUnavailable(String)}, clients can call
* this method to check if new combinations of camera ids which can stream concurrently are
* available.
*
* @return The set of combinations of currently connected camera devices, that may have
* sessions configured concurrently. The set of combinations will be empty if no such
* combinations are supported by the camera subsystem.