Sdílet prostřednictvím


Camera.Release Method

Definition

Caution

deprecated

Disconnects and releases the Camera object resources.

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

Remarks

Disconnects and releases the Camera object resources.

You must call this as soon as you're done with the Camera object.

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

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