Share via


Camera.SetPreviewCallbackWithBuffer(Camera+IPreviewCallback) Method

Definition

Caution

deprecated

Installs a callback to be invoked for every preview frame, using buffers supplied with #addCallbackBuffer(byte[]), in addition to displaying them on the screen.

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

Parameters

cb
Camera.IPreviewCallback

a callback object that receives a copy of the preview frame, or null to stop receiving callbacks and clear the buffer queue.

Attributes

Remarks

Java documentation for android.hardware.Camera.setPreviewCallbackWithBuffer(android.hardware.PreviewCallback).

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

See also