Camera.SetPreviewCallback(Camera+IPreviewCallback) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
deprecated
Installs a callback to be invoked for every preview frame in addition to displaying them on the screen.
[Android.Runtime.Register("setPreviewCallback", "(Landroid/hardware/Camera$PreviewCallback;)V", "")]
[System.Obsolete("deprecated")]
public void SetPreviewCallback (Android.Hardware.Camera.IPreviewCallback? cb);
[<Android.Runtime.Register("setPreviewCallback", "(Landroid/hardware/Camera$PreviewCallback;)V", "")>]
[<System.Obsolete("deprecated")>]
member this.SetPreviewCallback : Android.Hardware.Camera.IPreviewCallback -> unit
Parameters
a callback object that receives a copy of each preview frame, or null to stop receiving callbacks.
- Attributes
Remarks
Java documentation for android.hardware.Camera.setPreviewCallback(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.