Edit

Share via


AVSampleBufferDisplayLayer.RequestMediaData(DispatchQueue, Action) Method

Definition

Method that is called when the layer is ready for handler to gather frames for decompression and display.

[Foundation.Export("requestMediaDataWhenReadyOnQueue:usingBlock:")]
public virtual void RequestMediaData (CoreFoundation.DispatchQueue queue, Action handler);
abstract member RequestMediaData : CoreFoundation.DispatchQueue * Action -> unit
override this.RequestMediaData : CoreFoundation.DispatchQueue * Action -> unit

Parameters

queue
DispatchQueue

The queue to which to add frames.

handler
Action

The method that will gather frames.

Attributes

Applies to