CameraHelper.InitializeAndStartCaptureAsync 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.
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