Added in API level 1
Deprecated in API level 21

ErrorCallback


interface ErrorCallback
android.hardware.Camera.ErrorCallback

Callback interface for camera error notification.

Summary

Public methods
abstract Unit
onError(error: Int, camera: Camera!)

Callback for camera errors.

Public methods

onError

Added in API level 1
abstract fun onError(
    error: Int,
    camera: Camera!
): Unit

Deprecated: Deprecated in Java.

Callback for camera errors.

Parameters
error Int: error code:
camera Camera!: the Camera service object