Edit

Share via


AVCaptureAudioDataOutput.SetSampleBufferDelegateQueue Method

Definition

Overloads

SetSampleBufferDelegateQueue(AVCaptureAudioDataOutputSampleBufferDelegate, DispatchQueue)
Obsolete.
SetSampleBufferDelegateQueue(IAVCaptureAudioDataOutputSampleBufferDelegate, DispatchQueue)

Sets both the delegate object that processes samples and the dispatch queue on which the methods are invoked.

SetSampleBufferDelegateQueue(AVCaptureAudioDataOutputSampleBufferDelegate, DispatchQueue)

Caution

Use overload accepting a 'IAVCaptureVideoDataOutputSampleBufferDelegate'.

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

Parameters

sampleBufferDelegate
AVCaptureAudioDataOutputSampleBufferDelegate

To be added.

This parameter can be null.

sampleBufferCallbackDispatchQueue
DispatchQueue

To be added.

This parameter can be null.

Attributes

Applies to

SetSampleBufferDelegateQueue(IAVCaptureAudioDataOutputSampleBufferDelegate, DispatchQueue)

Sets both the delegate object that processes samples and the dispatch queue on which the methods are invoked.

public void SetSampleBufferDelegateQueue (AVFoundation.IAVCaptureAudioDataOutputSampleBufferDelegate sampleBufferDelegate, CoreFoundation.DispatchQueue sampleBufferCallbackDispatchQueue);
member this.SetSampleBufferDelegateQueue : AVFoundation.IAVCaptureAudioDataOutputSampleBufferDelegate * CoreFoundation.DispatchQueue -> unit

Parameters

sampleBufferDelegate
IAVCaptureAudioDataOutputSampleBufferDelegate

Instance of an object that will receive the samples as they are captured.

sampleBufferCallbackDispatchQueue
DispatchQueue

The dispatch queue on which the methods of the delegate will be invoked.

Remarks

If both parameters are null, this clears the delegate and dispatch queue. You can not pass a valid instance and null to the other parameter.

Applies to