/**@class android.hardware.camera2.params.StreamConfiguration @extends java.lang.Object Immutable class to store the available stream {@link CameraCharacteristics#SCALER_AVAILABLE_STREAM_CONFIGURATIONS configurations} to set up {@link android.view.Surface Surfaces} for creating a {@link CameraCaptureSession capture session} with {@link CameraDevice#createCaptureSession}. <!-- TODO: link to input stream configuration --> <p>This is the authoritative list for all input/output formats (and sizes respectively for that format) that are supported by a camera device.</p> @see CameraCharacteristics#SCALER_AVAILABLE_STREAM_CONFIGURATIONS @hide */ var StreamConfiguration = { /**Get the internal image {@code format} in this stream configuration. @return {Number} an integer format @see ImageFormat @see PixelFormat */ getFormat : function( ) {}, /**Return the width of the stream configuration. @return {Number} width > 0 */ getWidth : function( ) {}, /**Return the height of the stream configuration. @return {Number} height > 0 */ getHeight : function( ) {}, /**Convenience method to return the size of this stream configuration. @return {Object {android.util.Size}} a Size with positive width and height */ getSize : function( ) {}, /**Determines if this configuration is usable for input streams. <p>Input and output stream configurations are not interchangeable; input stream configurations must be used when configuring inputs.</p> @return {Boolean} {@code true} if input configuration, {@code false} otherwise */ isInput : function( ) {}, /**Determines if this configuration is usable for output streams. <p>Input and output stream configurations are not interchangeable; out stream configurations must be used when configuring outputs.</p> @return {Boolean} {@code true} if output configuration, {@code false} otherwise @see CameraDevice#createCaptureSession */ isOutput : function( ) {}, /**Check if this {@link android.hardware.camera2.params.StreamConfiguration} is equal to another {@link android.hardware.camera2.params.StreamConfiguration}. <p>Two vectors are only equal if and only if each of the respective elements is equal.</p> @return {Boolean} {@code true} if the objects were equal, {@code false} otherwise */ equals : function( ) {}, /**{@inheritDoc} */ hashCode : function( ) {}, };