The second Android 11 Developer Preview is now available, test it out and share your feedback.

RequestCancelledException

class RequestCancelledException : RuntimeException
kotlin.Any
   ↳ kotlin.Throwable
   ↳ java.lang.Exception
   ↳ java.lang.RuntimeException
   ↳ androidx.camera.core.SurfaceRequest.RequestCancelledException

An exception used to signal that the camera has cancelled a request for a Surface.

This may be set on the ListenableFuture returned by when the camera is shutting down or when the

Summary