共用方式為


AVCaptureVideoDataOutput.SetSampleBufferDelegate 方法

定義

警告

Use overload accepting a 'IAVCaptureVideoDataOutputSampleBufferDelegate'.

設定委派物件,並指定 DispatchQueue 回呼發生所在的 。

[Foundation.Export("setSampleBufferDelegate:queue:")]
[System.Obsolete("Use overload accepting a 'IAVCaptureVideoDataOutputSampleBufferDelegate'.", false)]
public virtual void SetSampleBufferDelegate (AVFoundation.AVCaptureVideoDataOutputSampleBufferDelegate sampleBufferDelegate, CoreFoundation.DispatchQueue sampleBufferCallbackQueue);
abstract member SetSampleBufferDelegate : AVFoundation.AVCaptureVideoDataOutputSampleBufferDelegate * CoreFoundation.DispatchQueue -> unit
override this.SetSampleBufferDelegate : AVFoundation.AVCaptureVideoDataOutputSampleBufferDelegate * CoreFoundation.DispatchQueue -> unit

參數

sampleBufferDelegate
AVCaptureVideoDataOutputSampleBufferDelegate

即將加入。

這個參數可以是 null

sampleBufferCallbackQueue
DispatchQueue

即將加入。

這個參數可以是 null

屬性

適用於