ErrorListener

interface ErrorListener
androidx.camera.core.impl.SessionConfig.ErrorListener

Callback for errors that occur when accessing the session config.

Summary

Public methods
abstract Unit
onError(@NonNull sessionConfig: SessionConfig, @NonNull error: SessionConfig.SessionError)

Called when an error has occurred.

Public methods

onError

abstract fun onError(
    @NonNull sessionConfig: SessionConfig,
    @NonNull error: SessionConfig.SessionError
): Unit

Called when an error has occurred.

Parameters
sessionConfig SessionConfig: The SessionConfig that generated the error.
error SessionConfig.SessionError: The error that was generated.