Sdílet prostřednictvím


Camera.TakePicture Method

Definition

Overloads

TakePicture(Camera+IShutterCallback, Camera+IPictureCallback, Camera+IPictureCallback)
Obsolete.

Equivalent to

TakePicture(Camera+IShutterCallback, Camera+IPictureCallback, Camera+IPictureCallback, Camera+IPictureCallback)
Obsolete.

Equivalent to

TakePicture(Camera+IShutterCallback, Camera+IPictureCallback, Camera+IPictureCallback)

Caution

deprecated

Equivalent to

[Android.Runtime.Register("takePicture", "(Landroid/hardware/Camera$ShutterCallback;Landroid/hardware/Camera$PictureCallback;Landroid/hardware/Camera$PictureCallback;)V", "")]
[System.Obsolete("deprecated")]
public void TakePicture (Android.Hardware.Camera.IShutterCallback? shutter, Android.Hardware.Camera.IPictureCallback? raw, Android.Hardware.Camera.IPictureCallback? jpeg);
[<Android.Runtime.Register("takePicture", "(Landroid/hardware/Camera$ShutterCallback;Landroid/hardware/Camera$PictureCallback;Landroid/hardware/Camera$PictureCallback;)V", "")>]
[<System.Obsolete("deprecated")>]
member this.TakePicture : Android.Hardware.Camera.IShutterCallback * Android.Hardware.Camera.IPictureCallback * Android.Hardware.Camera.IPictureCallback -> unit

Parameters

Attributes

Remarks

Java documentation for android.hardware.Camera.takePicture(android.hardware.ShutterCallback, android.hardware.PictureCallback, android.hardware.PictureCallback).

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.

See also

  • <xref:Android.Hardware.Camera.TakePicture(.IShutterCallback%2c+.IPictureCallback%2c+.IPictureCallback%2c+.IPictureCallback)>

Applies to

TakePicture(Camera+IShutterCallback, Camera+IPictureCallback, Camera+IPictureCallback, Camera+IPictureCallback)

Caution

deprecated

Equivalent to

[Android.Runtime.Register("takePicture", "(Landroid/hardware/Camera$ShutterCallback;Landroid/hardware/Camera$PictureCallback;Landroid/hardware/Camera$PictureCallback;Landroid/hardware/Camera$PictureCallback;)V", "")]
[System.Obsolete("deprecated")]
public void TakePicture (Android.Hardware.Camera.IShutterCallback? shutter, Android.Hardware.Camera.IPictureCallback? raw, Android.Hardware.Camera.IPictureCallback? postview, Android.Hardware.Camera.IPictureCallback? jpeg);
[<Android.Runtime.Register("takePicture", "(Landroid/hardware/Camera$ShutterCallback;Landroid/hardware/Camera$PictureCallback;Landroid/hardware/Camera$PictureCallback;Landroid/hardware/Camera$PictureCallback;)V", "")>]
[<System.Obsolete("deprecated")>]
member this.TakePicture : Android.Hardware.Camera.IShutterCallback * Android.Hardware.Camera.IPictureCallback * Android.Hardware.Camera.IPictureCallback * Android.Hardware.Camera.IPictureCallback -> unit

Parameters

shutter
Camera.IShutterCallback

the callback for image capture moment, or null

raw
Camera.IPictureCallback

the callback for raw (uncompressed) image data, or null

postview
Camera.IPictureCallback

callback with postview image data, may be null

jpeg
Camera.IPictureCallback

the callback for JPEG image data, or null

Attributes

Remarks

Java documentation for android.hardware.Camera.takePicture(android.hardware.ShutterCallback, android.hardware.PictureCallback, android.hardware.PictureCallback).

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