# Interface AutoCloseable

All Known Subinterfaces:
  `BaseStream<T,S>, DataInput, DataOutput, Stream<T>, VirtualInputDevice, VisionAnalyzer<T>`

All Known Implementing Classes:
  `ARSession, BarcodeScanner, BufferedInputStream, BufferedOutputStream, ByteArrayInputStream, ByteArrayOutputStream, CameraSession, CharArrayReader, DataInputStream, DataOutputStream, DeflaterOutputStream, DocumentScanner, FaceDetector, FilterInputStream, FilterOutputStream, GZIPInputStream, GZIPOutputStream, ImageLabeler, InferenceSession, InflaterInputStream, InputStream, InputStreamReader, LanguageIdentifier.Session, OutputStream, OutputStreamWriter, PoseDetector, PrintStream, Reader, SelfieSegmenter, SmartReply.Session, StringReader, StringReader, StringWriter, TarInputStream, TarOutputStream, TextRecognizer, Translator.Session, VisionCameraView, VisionPipeline, WAVWriter, Writer`

public interface AutoCloseable

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `close()`

- ## Method Details

  - ### close

    void close() throws Exception
    Throws:
      `Exception`