get Suggested Stream Specs
open fun getSuggestedStreamSpecs(cameraMode: Int, cameraId: String, existingSurfaces: List<<Error class: unknown class>>, newUseCaseConfigsSupportedSizeMap: Map<<Error class: unknown class><out <Error class: unknown class>>, List<Size>>, videoStabilization: <Error class: unknown class>, hasVideoCapture: Boolean, isFeatureComboInvocation: Boolean, findMaxSupportedFrameRate: Boolean): <Error class: unknown class>
Retrieves a map of suggested stream specifications for the given list of use cases.
Return
map of suggested stream specifications for given use cases
Parameters
camera Mode
the working camera mode.
camera Id
the camera id of the camera device used by the use cases
existing Surfaces
list of surfaces already configured and used by the camera. The resolutions for these surface can not change.
new Use Case Configs Supported Size Map
map of configurations of the use cases to the supported sizes list that will be given a suggested stream specification
video Stabilization
the video stabilization mode.
has Video Capture
whether the use cases has video capture.
Throws
if {@code newUseCaseConfigs} is an empty list, if there isn't a supported combination of surfaces available, or if the {@code cameraId} is not a valid id.