Edit

Share via


CameraHelper.InitializeAndStartCaptureAsync Method

Definition

Initializes Camera Media Capture settings and initializes Frame Reader to capture frames in real time. If no MediaFrameSourceGroup is provided, it selects the first available camera source to use for media capture. You could select a specific MediaFrameSourceGroup from the available sources using the CameraHelper FrameSourceGroups property.

public System.Threading.Tasks.Task<Microsoft.Toolkit.Uwp.Helpers.CameraHelperResult> InitializeAndStartCaptureAsync ();
member this.InitializeAndStartCaptureAsync : unit -> System.Threading.Tasks.Task<Microsoft.Toolkit.Uwp.Helpers.CameraHelperResult>
Public Function InitializeAndStartCaptureAsync () As Task(Of CameraHelperResult)

Returns

Result of the async operation.CameraHelperResult

Applies to