CameraControl.OperationCanceledException
public
static
final
class
CameraControl.OperationCanceledException
extends Exception
java.lang.Object | |||
↳ | java.lang.Throwable | ||
↳ | java.lang.Exception | ||
↳ | androidx.camera.core.CameraControl.OperationCanceledException |
An exception representing a failure that the operation is canceled which might be caused by a new value is set or camera is closed.
This is different from CancellationException
. While
CancellationException
means the ListenableFuture
was cancelled by
Future.cancel(boolean)
, CameraControl.OperationCanceledException
occurs when there is
something wrong inside CameraControl and it has to cancel the operation.
Summary
Inherited methods | |
---|---|