Dela via


MandatoryStreamCombination.MandatoryStreamInformation.AvailableSizes Property

Definition

Return the list of available sizes for this mandatory stream.

public System.Collections.Generic.IList<Android.Util.Size> AvailableSizes { [Android.Runtime.Register("getAvailableSizes", "()Ljava/util/List;", "", ApiSince=29)] get; }
[<get: Android.Runtime.Register("getAvailableSizes", "()Ljava/util/List;", "", ApiSince=29)>]
member this.AvailableSizes : System.Collections.Generic.IList<Android.Util.Size>

Property Value

non-modifiable ascending list of available sizes.

Attributes

Remarks

Return the list of available sizes for this mandatory stream.

Per documented CameraDevice#createCaptureSession guideline the largest resolution in the result will be tested and guaranteed to work. If clients want to use smaller sizes, then the resulting android.hardware.camera2.params.SessionConfiguration session configuration can be tested either by calling CameraDevice#createCaptureSession or CameraDevice#isSessionConfigurationSupported.

Java documentation for android.hardware.camera2.params.MandatoryStreamCombination.MandatoryStreamInformation.getAvailableSizes().

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