다음을 통해 공유


Camera.IPictureCallback.OnPictureTaken(Byte[], Camera) Method

Definition

Caution

deprecated

Called when image data is available after a picture is taken.

[Android.Runtime.Register("onPictureTaken", "([BLandroid/hardware/Camera;)V", "GetOnPictureTaken_arrayBLandroid_hardware_Camera_Handler:Android.Hardware.Camera/IPictureCallbackInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
[System.Obsolete("deprecated")]
public void OnPictureTaken (byte[]? data, Android.Hardware.Camera? camera);
[<Android.Runtime.Register("onPictureTaken", "([BLandroid/hardware/Camera;)V", "GetOnPictureTaken_arrayBLandroid_hardware_Camera_Handler:Android.Hardware.Camera/IPictureCallbackInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
[<System.Obsolete("deprecated")>]
abstract member OnPictureTaken : byte[] * Android.Hardware.Camera -> unit

Parameters

data
Byte[]

a byte array of the picture data

camera
Camera

the Camera service object

Attributes

Remarks

Called when image data is available after a picture is taken. The format of the data depends on the context of the callback and Camera.Parameters settings.

Java documentation for android.hardware.Camera.PictureCallback.onPictureTaken(byte[], android.hardware.Camera).

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