Sdílet prostřednictvím


Camera.SetOneShotPreviewCallback(Camera+IPreviewCallback) Method

Definition

Caution

deprecated

Installs a callback to be invoked for the next preview frame in addition to displaying it on the screen.

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

Parameters

cb
Camera.IPreviewCallback

a callback object that receives a copy of the next preview frame, or null to stop receiving callbacks.

Attributes

Remarks

Java documentation for android.hardware.Camera.setOneShotPreviewCallback(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