public final class

SessionConfig.CloseableErrorListener

extends java.lang.Object

implements SessionConfig.ErrorListener

 java.lang.Object

↳androidx.camera.core.impl.SessionConfig.CloseableErrorListener

Overview

A closeable ErrorListener that onError callback won't be invoked after it is closed.

Summary

Constructors
publicCloseableErrorListener(SessionConfig.ErrorListener errorListener)

Methods
public voidclose()

Closes the ErrorListener to not invoke the onError callback function.

public voidonError(SessionConfig sessionConfig, SessionConfig.SessionError error)

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructors

public CloseableErrorListener(SessionConfig.ErrorListener errorListener)

Methods

public void onError(SessionConfig sessionConfig, SessionConfig.SessionError error)

public void close()

Closes the ErrorListener to not invoke the onError callback function.