Düzenle

Aracılığıyla paylaş


AVCapturePhotoOutput.GetJpegPhotoDataRepresentation Method

Definition

Returns a JPEG representation of the data in previewPhotoSampleBuffer.

[Foundation.Export("JPEGPhotoDataRepresentationForJPEGSampleBuffer:previewPhotoSampleBuffer:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'AVCapturePhoto.FileDataRepresentation' instead.")]
public static Foundation.NSData GetJpegPhotoDataRepresentation (CoreMedia.CMSampleBuffer JPEGSampleBuffer, CoreMedia.CMSampleBuffer previewPhotoSampleBuffer);
static member GetJpegPhotoDataRepresentation : CoreMedia.CMSampleBuffer * CoreMedia.CMSampleBuffer -> Foundation.NSData

Parameters

JPEGSampleBuffer
CMSampleBuffer
previewPhotoSampleBuffer
CMSampleBuffer

To be added.

This parameter can be null.

Returns

Attributes

Applies to