AVCapturePhotoOutput.GetJpegPhotoDataRepresentation 方法

定义

返回 中 previewPhotoSampleBuffer数据的 JPEG 表示形式。

[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

参数

JPEGSampleBuffer
CMSampleBuffer
previewPhotoSampleBuffer
CMSampleBuffer

内容待定。

此参数可以为 null

返回

属性

适用于