Sdílet prostřednictvím


Camera.StopPreview Method

Definition

Caution

deprecated

Stops capturing and drawing preview frames to the surface, and resets the camera for a future call to #startPreview().

[Android.Runtime.Register("stopPreview", "()V", "")]
[System.Obsolete("deprecated")]
public void StopPreview ();
[<Android.Runtime.Register("stopPreview", "()V", "")>]
[<System.Obsolete("deprecated")>]
member this.StopPreview : unit -> unit
Attributes

Remarks

Stops capturing and drawing preview frames to the surface, and resets the camera for a future call to #startPreview().

Java documentation for android.hardware.Camera.stopPreview().

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