CameraPreview.StartAsync 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
StartAsync() |
Initialize control with a default CameraHelper instance for video preview and frame capture. |
StartAsync(CameraHelper) |
Initialize control with a CameraHelper instance for video preview and frame capture. |
StartAsync()
Initialize control with a default CameraHelper instance for video preview and frame capture.
public System.Threading.Tasks.Task StartAsync ();
member this.StartAsync : unit -> System.Threading.Tasks.Task
Public Function StartAsync () As Task
Returns
A Task representing the asynchronous operation.
Applies to
StartAsync(CameraHelper)
Initialize control with a CameraHelper instance for video preview and frame capture.
public System.Threading.Tasks.Task StartAsync (Microsoft.Toolkit.Uwp.Helpers.CameraHelper cameraHelper);
member this.StartAsync : Microsoft.Toolkit.Uwp.Helpers.CameraHelper -> System.Threading.Tasks.Task
Public Function StartAsync (cameraHelper As CameraHelper) As Task
Parameters
- cameraHelper
- CameraHelper
Returns
A Task representing the asynchronous operation.