Udostępnij za pośrednictwem


MandatoryStreamCombination.MandatoryStreamInformation.IsMaximumSize Property

Definition

Confirms whether or not this is a maximum size stream.

public bool IsMaximumSize { [Android.Runtime.Register("isMaximumSize", "()Z", "", ApiSince=31)] get; }
[<get: Android.Runtime.Register("isMaximumSize", "()Z", "", ApiSince=31)>]
member this.IsMaximumSize : bool

Property Value

true if the stream is a maximum size stream.

Attributes

Remarks

Confirms whether or not this is a maximum size stream.

A stream with maximum size is one with the camera device's maximum resolution for the stream's format as appears in android.hardware.camera2.CameraCharacteristics#SCALER_STREAM_CONFIGURATION_MAP. This maximum size has the same meaning as the 'MAXIMUM' target size documented in the camera capture session CameraDevice#createCaptureSession guideline.

The application can use a android.hardware.camera2.MultiResolutionImageReader for a maximum size output stream if the camera device supports multi-resolution outputs for the stream's format. See android.hardware.camera2.CameraCharacteristics#SCALER_MULTI_RESOLUTION_STREAM_CONFIGURATION_MAP for details.

This is different from the ultra high resolution flag, which applies only to ultra high resolution sensor camera devices and refers to a stream in android.hardware.camera2.CameraCharacteristics#SCALER_STREAM_CONFIGURATION_MAP_MAXIMUM_RESOLUTION instead.

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

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