AVCaptureAudioDataOutput.SetSampleBufferDelegateQueue Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.
- 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.