Udostępnij za pośrednictwem


FrameSource.FromFormat(FrameFormat, Action<FrameWriter>) Method

Definition

Initializes a new instance of the FrameSource class from FrameFormat

public static Azure.AI.Vision.Core.Input.FrameSource FromFormat (Azure.AI.Vision.Core.Input.FrameFormat format, Action<Azure.AI.Vision.Core.Input.FrameWriter> writeCallback = default);
static member FromFormat : Azure.AI.Vision.Core.Input.FrameFormat * Action<Azure.AI.Vision.Core.Input.FrameWriter> -> Azure.AI.Vision.Core.Input.FrameSource
Public Shared Function FromFormat (format As FrameFormat, Optional writeCallback As Action(Of FrameWriter) = Nothing) As FrameSource

Parameters

format
FrameFormat
writeCallback
Action<FrameWriter>

Returns

Applies to