Sdílet prostřednictvím


Camera.SetErrorCallback(Camera+IErrorCallback) Method

Definition

Caution

deprecated

Registers a callback to be invoked when an error occurs.

[Android.Runtime.Register("setErrorCallback", "(Landroid/hardware/Camera$ErrorCallback;)V", "")]
[System.Obsolete("deprecated")]
public void SetErrorCallback (Android.Hardware.Camera.IErrorCallback? cb);
[<Android.Runtime.Register("setErrorCallback", "(Landroid/hardware/Camera$ErrorCallback;)V", "")>]
[<System.Obsolete("deprecated")>]
member this.SetErrorCallback : Android.Hardware.Camera.IErrorCallback -> unit

Parameters

cb
Camera.IErrorCallback

The callback to run

Attributes

Remarks

Java documentation for android.hardware.Camera.setErrorCallback(android.hardware.ErrorCallback).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to